| java.lang.Object org.cougaar.logistics.plugin.seanet.Link
Link | public class Link (Code) | | A unidirectional link from a Node to another Node, the "toNode".
The distance (nautical miles) between the Node's is stored as an int.
The link will not be traversed if it is not open.
Methods named "*To*()" operate on the toNode.
|
Constructor Summary | |
public | Link(String name, int distance, Node toNode) |
getDistance | public int getDistance()(Code) | | |
getToCost | public int getToCost()(Code) | | |
isOpen | public boolean isOpen()(Code) | | |
setIsOpen | public void setIsOpen(boolean newValue)(Code) | | |
setToCost | public void setToCost(int c)(Code) | | |
|
|