FRAMES NO FRAMES

Typedef IlcPathTransitFunction

Definition file: ilsolver/ilcpath.h
Include file: <ilsolver/ilosolver.h>

IlcFloat(* IlcPathTransitFunction)(IlcInt, IlcInt)

This C++ type represents a pointer to a function that takes two arguments and returns a floating-point number. The two arguments are the indices of nodes. The function should return a transit cost for connecting the two nodes. This transit cost can be the distance between the nodes or the cost of a path visiting either of the nodes. This kind of function is known as a transit function.

See Also: