C# Class Ocronet.Dynamic.OcroFST.OcroFSTImpl

Inheritance: OcroFST
Afficher le fichier Open project: nickun/OCRonet

Méthodes publiques

Méthode Description
AcceptCost ( int vertex ) : float
AddTransition ( int from, int to, int output, float cost, int input ) : void
Arcs ( Intarray out_inputs, Intarray out_targets, Intarray out_outputs, Floatarray out_costs, int from ) : void
BestPath ( string &result ) : double
CalculateHeuristics ( ) : void
Clear ( ) : void
ClearFlags ( ) : void
Costs ( int vertex ) : Floatarray
GetAcceptCost ( int node ) : float
GetStart ( ) : int
HasFlag ( int flag ) : bool
Heuristics ( ) : Floatarray
Inputs ( int vertex ) : Intarray
Load ( BinaryReader reader ) : void
NewState ( ) : int
OcroFSTImpl ( ) : System
OcroFSTImpl ( int max_size ) : System
Outputs ( int vertex ) : Intarray
Rescore ( int from, int to, int output, float cost, int input ) : void
Save ( BinaryWriter writer ) : void
SetAccept ( int node, float cost = 0.0f ) : void
SetAcceptCost ( int vertex, float new_value ) : void
SetStart ( int node ) : void
SortByInput ( ) : void
SortByOutput ( ) : void
Special ( string s ) : int
Targets ( int vertex ) : Intarray
nStates ( ) : int

Méthodes protégées

Méthode Description
CorrectCostsNull ( int vertex ) : void
CorrectInputsNull ( int vertex ) : void
CorrectOutputsNull ( int vertex ) : void
CorrectTargetsNull ( int vertex ) : void

Private Methods

Méthode Description
achieve ( int flag ) : void

Method Details

AcceptCost() public méthode

public AcceptCost ( int vertex ) : float
vertex int
Résultat float

AddTransition() public méthode

public AddTransition ( int from, int to, int output, float cost, int input ) : void
from int
to int
output int
cost float
input int
Résultat void

Arcs() public méthode

public Arcs ( Intarray out_inputs, Intarray out_targets, Intarray out_outputs, Floatarray out_costs, int from ) : void
out_inputs Intarray
out_targets Intarray
out_outputs Intarray
out_costs Floatarray
from int
Résultat void

BestPath() public méthode

public BestPath ( string &result ) : double
result string
Résultat double

CalculateHeuristics() public méthode

public CalculateHeuristics ( ) : void
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

ClearFlags() public méthode

public ClearFlags ( ) : void
Résultat void

CorrectCostsNull() protected méthode

protected CorrectCostsNull ( int vertex ) : void
vertex int
Résultat void

CorrectInputsNull() protected méthode

protected CorrectInputsNull ( int vertex ) : void
vertex int
Résultat void

CorrectOutputsNull() protected méthode

protected CorrectOutputsNull ( int vertex ) : void
vertex int
Résultat void

CorrectTargetsNull() protected méthode

protected CorrectTargetsNull ( int vertex ) : void
vertex int
Résultat void

Costs() public méthode

public Costs ( int vertex ) : Floatarray
vertex int
Résultat Floatarray

GetAcceptCost() public méthode

public GetAcceptCost ( int node ) : float
node int
Résultat float

GetStart() public méthode

public GetStart ( ) : int
Résultat int

HasFlag() public méthode

public HasFlag ( int flag ) : bool
flag int
Résultat bool

Heuristics() public méthode

public Heuristics ( ) : Floatarray
Résultat Floatarray

Inputs() public méthode

public Inputs ( int vertex ) : Intarray
vertex int
Résultat Intarray

Load() public méthode

public Load ( BinaryReader reader ) : void
reader System.IO.BinaryReader
Résultat void

NewState() public méthode

public NewState ( ) : int
Résultat int

OcroFSTImpl() public méthode

public OcroFSTImpl ( ) : System
Résultat System

OcroFSTImpl() public méthode

public OcroFSTImpl ( int max_size ) : System
max_size int
Résultat System

Outputs() public méthode

public Outputs ( int vertex ) : Intarray
vertex int
Résultat Intarray

Rescore() public méthode

public Rescore ( int from, int to, int output, float cost, int input ) : void
from int
to int
output int
cost float
input int
Résultat void

Save() public méthode

public Save ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
Résultat void

SetAccept() public méthode

public SetAccept ( int node, float cost = 0.0f ) : void
node int
cost float
Résultat void

SetAcceptCost() public méthode

public SetAcceptCost ( int vertex, float new_value ) : void
vertex int
new_value float
Résultat void

SetStart() public méthode

public SetStart ( int node ) : void
node int
Résultat void

SortByInput() public méthode

public SortByInput ( ) : void
Résultat void

SortByOutput() public méthode

public SortByOutput ( ) : void
Résultat void

Special() public méthode

public Special ( string s ) : int
s string
Résultat int

Targets() public méthode

public Targets ( int vertex ) : Intarray
vertex int
Résultat Intarray

nStates() public méthode

public nStates ( ) : int
Résultat int