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 an implementation class, a predefined subclass of
IlcPathTransitI
, that you use to define a
new transition function expressed by an evaluation function. This evaluation
function is of type IlcPathTransitFunction
.
See Also:
IlcPathLength, IlcPathTransit, IlcPathTransitFunction, IlcPathTransitI
Constructor Summary | |
---|---|
public | IlcPathTransitEvalI(IlcPathTransitFunction function) |
Method Summary | |
---|---|
public virtual IlcFloat | transit(IlcInt i, IlcInt j) |
Inherited Methods from IlcPathTransitI |
---|
transit |
Constructor Detail |
---|
This constructor creates a new transit function from an evaluation function. Objects of this class use the evaluation function indicated by the argument function
to define the transition costs used in the path constraint.
Method Detail |
---|
This virtual member function returns the transition cost from node i
to node j
. In order to do this, it calls the evaluation function.