com.rubecula.darwin.examples.travelingsalesman
Class EcoFactor_TravelTimes
java.lang.Object
net.sf.tostring0.AToString
com.rubecula.darwin.domain.helper.Attribute_
com.rubecula.darwin.domain.environment.EcoFactor_
com.rubecula.darwin.examples.travelingsalesman.EcoFactor_TS
com.rubecula.darwin.examples.travelingsalesman.EcoFactor_TravelTimes
- All Implemented Interfaces:
- Attribute, Censusible, EcoFactor, Individual, java.lang.Cloneable, net.sf.tostring0.Identifiable, net.sf.tostring0.IToString
public class EcoFactor_TravelTimes
- extends EcoFactor_TS
This eco factor represents the travel times between various clients. The
value of this factor changes only slowly (in the background) and in the
traveling salesman problem, doesn't change at all.
XXX we don't currently override clone here because the value,
TravelTimes
is not normally mutable.
- Author:
- Robin Hillyard
Fields inherited from class com.rubecula.darwin.domain.environment.EcoFactor_ |
LOG |
Fields inherited from interface net.sf.tostring0.IToString |
ANGBR_OPEN, ANGBRA_CLSE, BRA_CLSE, BRA_OPEN, BRCE_OPEN, BRCS_CLSE, COLON, LIST_SEPARATOR, MAX_ELEMENTS_DEFAULT, S_MT, S_PERCENT, SEPARATOR, SPACE |
Methods inherited from class net.sf.tostring0.AToString |
toString, toStringBrief, toStringId |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.tostring0.Identifiable |
getIdentifier |
FACTOR_TRAVELTIMES
public static final java.lang.String FACTOR_TRAVELTIMES
- travelTimes
- See Also:
- Constant Field Values
FACTOR_TRAVEL_TIME
public static final java.lang.String FACTOR_TRAVEL_TIME
- XXX investigate why this is different from
FACTOR_TRAVELTIMES
.
- See Also:
- Constant Field Values
EcoFactor_TravelTimes
public EcoFactor_TravelTimes()
EcoFactor_TravelTimes
public EcoFactor_TravelTimes(TravelTimes travelTimes)
- Parameters:
travelTimes
-
getTravelTimes
public TravelTimes getTravelTimes()
- Returns:
- the travel times (i.e. result of calling
Attribute_.getValue()
.
setTravelTimes
public void setTravelTimes(TravelTimes travelTimes)
- Parameters:
travelTimes
-
Copyright © 2010 Rubecula Software, LLC. All Rights Reserved.