| Overview | Group | Tree | Graph | Index | Concepts |

Solver lets you define the transit function in a path constraint (the cost for linking two nodes together).
This class is the implementation class for IlcPathTransit,
the class of object that defines a transit function for the path constraint.
The virtual member function in IlcPathTransitI returns the
transition cost for connecting two nodes together.
To express new transit functions, you can define a subclass of
IlcPathTransitI. If this transition can be expressed by an
evaluation function, then you can use the predefined subclass
IlcPathTransitEvalI for that purpose.
See Also:
IlcPathLength, IlcPathTransit, IlcPathTransitEvalI, IlcPathTransitFunction
| Constructor and Destructor Summary | |
|---|---|
public | IlcPathTransitI() |
public | ~IlcPathTransitI() |
| Method Summary | |
|---|---|
public virtual IlcFloat | transit(IlcInt i, IlcInt j) |
| Constructor and Destructor Detail |
|---|
This constructor creates an implementation object.
As this class is to be subclassed, a virtual destructor is provided
| Method Detail |
|---|
This virtual member function returns the transition cost from node i to node j. Its default implementation returns 0 (zero) as the value of every transition.