org.drools.planner.examples.traindesign.domain
Class TrainDesign

java.lang.Object
  extended by org.drools.planner.examples.common.domain.AbstractPersistable
      extended by org.drools.planner.examples.traindesign.domain.TrainDesign
All Implemented Interfaces:
Serializable, Solution<HardAndSoftScore>

public class TrainDesign
extends AbstractPersistable
implements Solution<HardAndSoftScore>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
TrainDesign()
           
 
Method Summary
 TrainDesign cloneSolution()
          Clone will only deep copy the carBlockDesignationList.
 boolean equals(Object o)
           
 List<CarBlockDesignation> getCarBlockDesignationList()
           
 List<CarBlock> getCarBlockList()
           
 List<CrewSegment> getCrewSegmentList()
           
 Collection<? extends Object> getProblemFacts()
           
 List<RailArc> getRailArcList()
           
 List<RailNode> getRailNodeList()
           
 HardAndSoftScore getScore()
           
 TrainDesignParametrization getTrainDesignParametrization()
           
 int hashCode()
           
 void initializeTransientProperties()
           
 void setCarBlockDesignationList(List<CarBlockDesignation> bedDesignationList)
           
 void setCarBlockList(List<CarBlock> carBlockList)
           
 void setCrewSegmentList(List<CrewSegment> crewSegmentList)
           
 void setRailArcList(List<RailArc> railArcList)
           
 void setRailNodeList(List<RailNode> railNodeList)
           
 void setScore(HardAndSoftScore score)
           
 void setTrainDesignParametrization(TrainDesignParametrization trainDesignParametrization)
           
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
getId, setId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TrainDesign

public TrainDesign()
Method Detail

getTrainDesignParametrization

public TrainDesignParametrization getTrainDesignParametrization()

setTrainDesignParametrization

public void setTrainDesignParametrization(TrainDesignParametrization trainDesignParametrization)

getRailNodeList

public List<RailNode> getRailNodeList()

setRailNodeList

public void setRailNodeList(List<RailNode> railNodeList)

getRailArcList

public List<RailArc> getRailArcList()

setRailArcList

public void setRailArcList(List<RailArc> railArcList)

getCarBlockList

public List<CarBlock> getCarBlockList()

setCarBlockList

public void setCarBlockList(List<CarBlock> carBlockList)

getCrewSegmentList

public List<CrewSegment> getCrewSegmentList()

setCrewSegmentList

public void setCrewSegmentList(List<CrewSegment> crewSegmentList)

getCarBlockDesignationList

public List<CarBlockDesignation> getCarBlockDesignationList()

setCarBlockDesignationList

public void setCarBlockDesignationList(List<CarBlockDesignation> bedDesignationList)

getScore

public HardAndSoftScore getScore()
Specified by:
getScore in interface Solution<HardAndSoftScore>

setScore

public void setScore(HardAndSoftScore score)
Specified by:
setScore in interface Solution<HardAndSoftScore>

getProblemFacts

public Collection<? extends Object> getProblemFacts()
Specified by:
getProblemFacts in interface Solution<HardAndSoftScore>

cloneSolution

public TrainDesign cloneSolution()
Clone will only deep copy the carBlockDesignationList.

Specified by:
cloneSolution in interface Solution<HardAndSoftScore>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

initializeTransientProperties

public void initializeTransientProperties()


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.