com.azalient.api.b.assignment
Interface IDecisionPoint

All Known Subinterfaces:
ILink, IParkingDestination, ITwig, IUserTwig

public interface IDecisionPoint

A decision point is a location where a route decision is made because there are two or more possible exits. An object which implements this interface can be used for split-count routing


Method Summary
 void addSplit(ISplit split)
          Add a split to the array held at this location
 String name()
          The name of this route decision location
 IDecisionOption[] options()
          An array of objects defining the number of options.
 ISplit[] splits()
          An array of splits, size 1 or more, each split in this array has the number of options given by options().
 void splits(ISplit[] splits)
          Change the array of splits (after editing)
 

Method Detail

name

String name()
The name of this route decision location


options

IDecisionOption[] options()
An array of objects defining the number of options. The toString method for these objects is used to label the split table


splits

ISplit[] splits()
An array of splits, size 1 or more, each split in this array has the number of options given by options(). You might have multiple Splits for different divisions or if you needed to vary the turn shares by time of day,


splits

void splits(ISplit[] splits)
Change the array of splits (after editing)


addSplit

void addSplit(ISplit split)
Add a split to the array held at this location