picsou.grid
Class PricingSimulatorTree

java.lang.Object
  extended by picsou.pricing.PricingSimulator
      extended by picsou.grid.PricingSimulatorTree
All Implemented Interfaces:
Simulator
Direct Known Subclasses:
EuropeanSimpleGrid

public abstract class PricingSimulatorTree
extends PricingSimulator


Field Summary
 
Fields inherited from class picsou.pricing.PricingSimulator
a1, a2, alg, asset, deltaT, generator, itsPerPacket, log, offloadedIts, riskFreeRateDiscount, state, timeIntervals
 
Constructor Summary
PricingSimulatorTree()
           
 
Method Summary
 void addChild(PricingSimulatorTree child)
           
 java.util.Set<PricingSimulatorTree> getChildren()
           
 java.lang.Double getLocalWeight()
           
 PricingSimulatorTree getParent()
           
 java.lang.Double getTotalWeight()
           
 void mergeFromChildren()
           
 void mergeToParent()
           
 void removeChild(PricingSimulatorTree child)
           
 void setLocalWeight(java.lang.Double localWeight)
           
 void setTotalWeight(java.lang.Double totalWeight)
           
 
Methods inherited from class picsou.pricing.PricingSimulator
autorun, getAlg, getAsset, getDefaultOptionSet, getOptionSet, getPrice, getState, getXMLFormatter, init, init, init, merge, offload, printAlgXML, printAssetXML, printOptionSet, reset, restart, seed, simulate, simulate, simulate, simulate, unguardedMerge, unguardedRestart, unguardedSimulate, updateState, updateValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PricingSimulatorTree

public PricingSimulatorTree()
Method Detail

addChild

public void addChild(PricingSimulatorTree child)

getParent

public PricingSimulatorTree getParent()

removeChild

public void removeChild(PricingSimulatorTree child)

mergeToParent

public void mergeToParent()
                   throws InvalidStateException
Throws:
InvalidStateException

mergeFromChildren

public void mergeFromChildren()
                       throws InvalidStateException
Throws:
InvalidStateException

getChildren

public java.util.Set<PricingSimulatorTree> getChildren()

getLocalWeight

public java.lang.Double getLocalWeight()

setLocalWeight

public void setLocalWeight(java.lang.Double localWeight)

getTotalWeight

public java.lang.Double getTotalWeight()

setTotalWeight

public void setTotalWeight(java.lang.Double totalWeight)