public class ParallelRunnerProto<B> extends Runner<B>
A Runner class for parallel execution. This is currently a prototype implementation, under development.
Modifier and Type | Field and Description |
---|---|
Fun_0_0 <B> |
creator
Field Type: ()=>B
|
PlaceLocalHandle<B> |
plhE |
Constructor and Description |
---|
ParallelRunnerProto(Fun_0_0 <B> creator)
Declaration: this(creator:()=>B):plham.main.ParallelRunnerProto[B].
|
Modifier and Type | Method and Description |
---|---|
List<List<Order>> |
collectOrders(Boolean diffPass) |
void |
distributeHifreqAgents(List<Agent> agents) |
void |
distributeInitialAgents(List<Agent> agents) |
void |
distributeInitialMarkets(List<Market> markets) |
void |
distributeLocalAgents(List<Agent> agents) |
void |
setupEnv(List<Market> markets,
List<Agent> agents) |
void |
updateAgents() |
void |
updateMarkets(Long maxNormalOrders,
Long maxHifreqOrders,
Boolean diffPass) |
env, handleOrders, iterateMarketUpdates, run, setupEnv, updateAgents, updateMarkets
public PlaceLocalHandle<B> plhE
public Fun_0_0 <B> creator
public ParallelRunnerProto(Fun_0_0 <B> creator)
public void updateMarkets(Long maxNormalOrders, Long maxHifreqOrders, Boolean diffPass)
public List<List<Order>> collectOrders(Boolean diffPass)
public void distributeInitialMarkets(List<Market> markets)
public void distributeInitialAgents(List<Agent> agents)
public void distributeLocalAgents(List<Agent> agents)
public void distributeHifreqAgents(List<Agent> agents)
public void updateAgents()