public class MultiInstance extends Object
Modifier and Type | Field and Description |
---|---|
StateRunnable |
parent |
Constructor and Description |
---|
MultiInstance(String tnm,
String ka) |
Modifier and Type | Method and Description |
---|---|
void |
add(StateInstance sr) |
void |
advance(StateRunnable parent,
double t,
double dt) |
void |
evaluate(StateRunnable parent) |
void |
exportState(String pfx,
double t,
LineDisplay ld) |
StateRunnable |
getChild(String snm) |
StateRunnable |
getChildByID(String id) |
double |
getDouble(int i,
String varname) |
double[] |
getDoubles(String varname) |
StateRunnable |
getInstance(int idx) |
ArrayList<StateRunnable> |
getInstances() |
InstanceSet<StateRunnable> |
getInstanceSet(StateRunnable p) |
String |
getKnownAs() |
StateRunnable |
getParent() |
StateRunnable |
getPredicateInstance(String lastbit) |
ArrayList<StateRunnable> |
getStateInstances() |
boolean |
hasID(String id) |
void |
initialize(StateRunnable parent) |
void |
setDouble(int i,
String varname,
double d) |
void |
setDoubles(String stateVarname,
double[] wkocc) |
void |
setKnownAs(String s) |
void |
setParent(StateRunnable par) |
int |
size() |
String |
stateString() |
String |
toString() |
public StateRunnable parent
public String getKnownAs()
public void add(StateInstance sr)
public boolean hasID(String id)
public StateRunnable getChildByID(String id)
public void initialize(StateRunnable parent) throws RuntimeError, ContentError
RuntimeError
ContentError
public void advance(StateRunnable parent, double t, double dt) throws RuntimeError, ContentError
RuntimeError
ContentError
public void evaluate(StateRunnable parent) throws RuntimeError, ContentError
RuntimeError
ContentError
public ArrayList<StateRunnable> getStateInstances()
public double[] getDoubles(String varname) throws RuntimeError
RuntimeError
public double getDouble(int i, String varname) throws RuntimeError
RuntimeError
public void setDoubles(String stateVarname, double[] wkocc)
public int size()
public void setDouble(int i, String varname, double d)
public String stateString()
public void exportState(String pfx, double t, LineDisplay ld)
public StateRunnable getChild(String snm) throws ConnectionError
ConnectionError
public void setParent(StateRunnable par)
public StateRunnable getParent()
public StateRunnable getPredicateInstance(String lastbit)
public void setKnownAs(String s)
public StateRunnable getInstance(int idx)
public InstanceSet<StateRunnable> getInstanceSet(StateRunnable p)
public ArrayList<StateRunnable> getInstances()
Copyright © 2020. All rights reserved.