edu.umass.cs.sase.stream
Class StockStreamConfig

java.lang.Object
  extended by edu.umass.cs.sase.stream.StockStreamConfig

public class StockStreamConfig
extends java.lang.Object

Configurates the paramters for generating stock event streams

Author:
haopeng

Field Summary
static int increaseProbability
          The probability that the value would increase
static int maxPrice
          Denoting the max price value, so the price range is: [1, maxPrice]
static int maxVolume
          Volume range is: [1, maxVolume]
static int numOfSymbol
          Symbol range is: [1, numOfSymbol];
static int randomSeed
          The random seed.
static int streamSize
           
 
Constructor Summary
StockStreamConfig()
           
 
Method Summary
static void printConfig()
          Prints the configuration
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

streamSize

public static int streamSize

maxPrice

public static int maxPrice
Denoting the max price value, so the price range is: [1, maxPrice]


maxVolume

public static int maxVolume
Volume range is: [1, maxVolume]


numOfSymbol

public static int numOfSymbol
Symbol range is: [1, numOfSymbol];


randomSeed

public static int randomSeed
The random seed.


increaseProbability

public static int increaseProbability
The probability that the value would increase

Constructor Detail

StockStreamConfig

public StockStreamConfig()
Method Detail

printConfig

public static void printConfig()
Prints the configuration