com.rubecula.darwin.examples.travelingsalesman
Class EcoFactor_TravelTimes

java.lang.Object
  extended by net.sf.tostring0.AToString
      extended by com.rubecula.darwin.domain.helper.Attribute_
          extended by com.rubecula.darwin.domain.environment.EcoFactor_
              extended by com.rubecula.darwin.examples.travelingsalesman.EcoFactor_TS
                  extended by 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

Field Summary
static java.lang.String FACTOR_TRAVEL_TIME
          XXX investigate why this is different from FACTOR_TRAVELTIMES.
static java.lang.String FACTOR_TRAVELTIMES
          travelTimes
 
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
 
Constructor Summary
EcoFactor_TravelTimes()
           
EcoFactor_TravelTimes(TravelTimes travelTimes)
           
 
Method Summary
 TravelTimes getTravelTimes()
           
 void setTravelTimes(TravelTimes travelTimes)
           
 
Methods inherited from class com.rubecula.darwin.examples.travelingsalesman.EcoFactor_TS
isNew, isVisible, update
 
Methods inherited from class com.rubecula.darwin.domain.environment.EcoFactor_
censusMe, clone, getCensusibleChildren, getEnvironment, getVisualizable, setEnvironment, toString
 
Methods inherited from class com.rubecula.darwin.domain.helper.Attribute_
equals, getAttribute, getIdentifier, getValue, hashCode, setValue
 
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 com.rubecula.darwin.domain.helper.Attribute
getAttribute, getValue, setValue
 
Methods inherited from interface net.sf.tostring0.Identifiable
getIdentifier
 

Field Detail

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
Constructor Detail

EcoFactor_TravelTimes

public EcoFactor_TravelTimes()

EcoFactor_TravelTimes

public EcoFactor_TravelTimes(TravelTimes travelTimes)
Parameters:
travelTimes -
Method Detail

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.