public class PoshEngine extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PoshEngine.EvaluationResult |
static class |
PoshEngine.EvaluationResultInfo |
| Modifier and Type | Field and Description |
|---|---|
protected Logger |
log |
protected PoshPlan |
plan |
protected ITimer |
timer |
| Constructor and Description |
|---|
PoshEngine(PoshPlan plan) |
PoshEngine(PoshPlan plan,
ITimer timer) |
PoshEngine(PoshPlan plan,
ITimer timer,
Logger log) |
| Modifier and Type | Method and Description |
|---|---|
PoshEngine.EvaluationResultInfo |
evaluatePlan(IWorkExecutor workExecuter) |
Logger |
getLog() |
PoshPlan |
getPlan()
Get plan of this engine (serialize the parsed plane and return it).
|
String |
getPoshPlan()
Convert posh tree into posh plan (textual representation) and return it.
|
String |
getState()
Return serialized state of the engine.
|
void |
reset()
Reset the posh engine, all stacks and variables will be reseted.
|
public PoshEngine(PoshPlan plan)
public final void reset()
public PoshEngine.EvaluationResultInfo evaluatePlan(IWorkExecutor workExecuter)
public Logger getLog()
public final PoshPlan getPlan()
public final String getPoshPlan()
public String getState()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.