OptaPlanner examples 6.0.0.Beta1

org.optaplanner.examples.vehiclerouting.domain
Class VrpSchedule

java.lang.Object
  extended by org.optaplanner.examples.common.domain.AbstractPersistable
      extended by org.optaplanner.examples.vehiclerouting.domain.VrpSchedule
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>, org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

public class VrpSchedule
extends AbstractPersistable
implements org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
VrpSchedule()
           
 
Method Summary
 boolean equals(Object o)
           
 List<VrpCustomer> getCustomerList()
           
 List<VrpDepot> getDepotList()
           
 List<VrpLocation> getLocationList()
           
 String getName()
           
 Collection<? extends Object> getProblemFacts()
           
 org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore getScore()
           
 List<VrpVehicle> getVehicleList()
           
 int hashCode()
           
 void setCustomerList(List<VrpCustomer> customerList)
           
 void setDepotList(List<VrpDepot> depotList)
           
 void setLocationList(List<VrpLocation> locationList)
           
 void setName(String name)
           
 void setScore(org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore score)
           
 void setVehicleList(List<VrpVehicle> vehicleList)
           
 
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
compareTo, getId, setId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VrpSchedule

public VrpSchedule()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getLocationList

public List<VrpLocation> getLocationList()

setLocationList

public void setLocationList(List<VrpLocation> locationList)

getDepotList

public List<VrpDepot> getDepotList()

setDepotList

public void setDepotList(List<VrpDepot> depotList)

getVehicleList

public List<VrpVehicle> getVehicleList()

setVehicleList

public void setVehicleList(List<VrpVehicle> vehicleList)

getCustomerList

public List<VrpCustomer> getCustomerList()

setCustomerList

public void setCustomerList(List<VrpCustomer> customerList)

getScore

public org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore getScore()
Specified by:
getScore in interface org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

setScore

public void setScore(org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore score)
Specified by:
setScore in interface org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

getProblemFacts

public Collection<? extends Object> getProblemFacts()
Specified by:
getProblemFacts in interface org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

OptaPlanner examples 6.0.0.Beta1

Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.