rails.game.specific._18EU
Class PullmanRevenueModifier

java.lang.Object
  extended by rails.game.specific._18EU.PullmanRevenueModifier
All Implemented Interfaces:
RevenueDynamicModifier

public class PullmanRevenueModifier
extends java.lang.Object
implements RevenueDynamicModifier


Constructor Summary
PullmanRevenueModifier()
           
 
Method Summary
 void adjustOptimalRun(java.util.List<RevenueTrainRun> optimalRuns)
          allows to adjust the run list of the optimal train run output
 int evaluationValue(java.util.List<RevenueTrainRun> runs, boolean optimalRuns)
          returns the value used for evaluation (at the runs supplied)
 int predictionValue()
          returns the value used for prediction
 boolean prepareModifier(RevenueAdapter revenueAdapter)
          after the setup of the revenueAdapter, but before the actual calculation if return is false => deactivate
 java.lang.String prettyPrint(RevenueAdapter revenueAdapter)
          returns the results as pretty prints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PullmanRevenueModifier

public PullmanRevenueModifier()
Method Detail

prepareModifier

public boolean prepareModifier(RevenueAdapter revenueAdapter)
Description copied from interface: RevenueDynamicModifier
after the setup of the revenueAdapter, but before the actual calculation if return is false => deactivate

Specified by:
prepareModifier in interface RevenueDynamicModifier

evaluationValue

public int evaluationValue(java.util.List<RevenueTrainRun> runs,
                           boolean optimalRuns)
Description copied from interface: RevenueDynamicModifier
returns the value used for evaluation (at the runs supplied)

Specified by:
evaluationValue in interface RevenueDynamicModifier

predictionValue

public int predictionValue()
Description copied from interface: RevenueDynamicModifier
returns the value used for prediction

Specified by:
predictionValue in interface RevenueDynamicModifier

adjustOptimalRun

public void adjustOptimalRun(java.util.List<RevenueTrainRun> optimalRuns)
Description copied from interface: RevenueDynamicModifier
allows to adjust the run list of the optimal train run output

Specified by:
adjustOptimalRun in interface RevenueDynamicModifier

prettyPrint

public java.lang.String prettyPrint(RevenueAdapter revenueAdapter)
Description copied from interface: RevenueDynamicModifier
returns the results as pretty prints

Specified by:
prettyPrint in interface RevenueDynamicModifier