C# Class Ocronet.Dynamic.OcroFST.SearchTree

A SearchTree contains all vertices that were ever touched during the search, and can produce a prehistory for every ID.
Exibir arquivo Open project: nickun/OCRonet Class Usage Examples

Public Properties

Property Type Description
costs Floatarray
inputs Intarray
outputs Intarray
parents Intarray
v1 Intarray
v2 Intarray

Public Methods

Method Description
Add ( int parent, int vertex1, int vertex2, int input, int output, float cost ) : int
Clear ( ) : void
Get ( Intarray r_vertices1, Intarray r_vertices2, Intarray r_inputs, Intarray r_outputs, Floatarray r_costs, int id ) : void
SearchTree ( ) : System

Method Details

Add() public method

public Add ( int parent, int vertex1, int vertex2, int input, int output, float cost ) : int
parent int
vertex1 int
vertex2 int
input int
output int
cost float
return int

Clear() public method

public Clear ( ) : void
return void

Get() public method

public Get ( Intarray r_vertices1, Intarray r_vertices2, Intarray r_inputs, Intarray r_outputs, Floatarray r_costs, int id ) : void
r_vertices1 Intarray
r_vertices2 Intarray
r_inputs Intarray
r_outputs Intarray
r_costs Floatarray
id int
return void

SearchTree() public method

public SearchTree ( ) : System
return System

Property Details

costs public_oe property

public Floatarray costs
return Floatarray

inputs public_oe property

public Intarray inputs
return Intarray

outputs public_oe property

public Intarray outputs
return Intarray

parents public_oe property

public Intarray parents
return Intarray

v1 public_oe property

public Intarray v1
return Intarray

v2 public_oe property

public Intarray v2
return Intarray