public class RandomOrderGenerator
Modifier and Type | Field and Description |
---|---|
Fun_0_1 <Double,Double> |
nextPrice
Field Type: (Double)=>Double
|
Fun_0_0 <Long> |
nextTimeLength
Field Type: ()=>Long
|
Fun_0_0 <Long> |
nextVolume
Field Type: ()=>Long
|
Random |
random |
Constructor and Description |
---|
RandomOrderGenerator(Fun_0_1 <Double,Double> nextPrice,
Fun_0_0 <Long> nextVolume,
Fun_0_0 <Long> nextTimeLength)
Declaration: this(nextPrice:(Double)=>Double, nextVolume:()=>Long, nextTimeLength:()=>Long):plham.util.RandomOrderGenerator.
|
Modifier and Type | Method and Description |
---|---|
Order |
get(Market market,
Agent agent) |
List<Order> |
get(Market market,
Fun_0_0 <Agent> nextAgent,
Long N)
Declaration: get(market:plham.Market, nextAgent:()=>plham.Agent, N:Long):List[plham.Order].
|
static void |
main(Rail<String> args) |
public Random random
public Fun_0_1 <Double,Double> nextPrice
public Fun_0_0 <Long> nextVolume
public Fun_0_0 <Long> nextTimeLength