org.drools.planner.examples.traindesign.domain
Class CrewSegment
java.lang.Object
org.drools.planner.examples.common.domain.AbstractPersistable
org.drools.planner.examples.traindesign.domain.CrewSegment
- All Implemented Interfaces:
- Serializable, Comparable<AbstractPersistable>
public class CrewSegment
- extends AbstractPersistable
A CrewSegment can be used multiple times on different trains.
- See Also:
- Serialized Form
CrewSegment
public CrewSegment()
getHome
public RailNode getHome()
setHome
public void setHome(RailNode home)
getAway
public RailNode getAway()
setAway
public void setAway(RailNode away)
getHomeAwayShortestPath
public RailNodeShortestPath getHomeAwayShortestPath()
setHomeAwayShortestPath
public void setHomeAwayShortestPath(RailNodeShortestPath homeAwayShortestPath)
getAwayHomeShortestPath
public RailNodeShortestPath getAwayHomeShortestPath()
setAwayHomeShortestPath
public void setAwayHomeShortestPath(RailNodeShortestPath awayHomeShortestPath)
toString
public String toString()
- Overrides:
toString
in class AbstractPersistable
initializeShortestPath
public void initializeShortestPath()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.