edu.cuny.cat.market.charging
Class TraderExploringMonitor

java.lang.Object
  extended by edu.cuny.cat.market.charging.TraderExploringMonitor
All Implemented Interfaces:
AuctionEventListener, edu.cuny.config.param.Parameterizable
Direct Known Subclasses:
MultiDayExploringMonitor, SingleDayExploringMonitor

public abstract class TraderExploringMonitor
extends java.lang.Object
implements AuctionEventListener, edu.cuny.config.param.Parameterizable

detects whether traders are still exploring markets or not.

Default Base

trader_exploring_monitor

Version:
$Revision: 1.6 $
Author:
Jinzhong Niu

Field Summary
static java.lang.String P_DEF_BASE
           
 
Constructor Summary
TraderExploringMonitor()
           
 
Method Summary
abstract  void eventOccurred(AuctionEvent event)
           
abstract  double getExploringFactor()
           
abstract  boolean isExploring()
          tells whether traders are estimated to be exploring or not.
abstract  void setup(edu.cuny.config.param.ParameterDatabase parameters, edu.cuny.config.param.Parameter base)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

P_DEF_BASE

public static final java.lang.String P_DEF_BASE
See Also:
Constant Field Values
Constructor Detail

TraderExploringMonitor

public TraderExploringMonitor()
Method Detail

setup

public abstract void setup(edu.cuny.config.param.ParameterDatabase parameters,
                           edu.cuny.config.param.Parameter base)
Specified by:
setup in interface edu.cuny.config.param.Parameterizable

isExploring

public abstract boolean isExploring()
tells whether traders are estimated to be exploring or not.

Returns:
true if traders are exploring; false otherwise

getExploringFactor

public abstract double getExploringFactor()
Returns:
a numeric value telling the level of traders' exploration.

eventOccurred

public abstract void eventOccurred(AuctionEvent event)
Specified by:
eventOccurred in interface AuctionEventListener