This document is archived and information here might be outdated. Recommended version. |
Creates a network dataset forward star which honors the current solver settings as well as any barriers.
[Visual Basic .NET] Public Function CreateForwardStar ( _ ByVal Context As INAContext, _ ByVal IsForwardTraversal As Boolean _ ) As INetworkForwardStarEx
[C#] public INetworkForwardStarEx CreateForwardStar ( INAContext Context, bool IsForwardTraversal );
[C++]
HRESULT CreateForwardStar(
INAContext* Context,
VARIANT_BOOL IsForwardTraversal
);
[C++]
Parameters Context [in]
Context is a parameter of type INAContext* IsForwardTraversal [in]
IsForwardTraversal is a parameter of type bool
CreateForwardStar will generate a NetworkForwardStar object prepared with the settings specified on the current solver and the INAContext that is passed in. The returned NetworkForwardStar object will have the INetworkForwardStarEx::IsForwardTraversal value set to match the value of the IsForwardTraversal Boolean that is passed in to CreateForwardStar.