|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.xj.anylogic.engine.Presentable
com.xj.anylogic.engine.Utilities
com.xj.anylogic.engine.ActiveObject
public class ActiveObject
This is a base class for all active object classes created by the user.
Active object is the main building block of AnyLogic models; it can have
parameters, variables, ports, events, statecharts and embedded active
objects. Active object is the unit of dynamic creation of destruction.
Memory:
sizeof(Object) + 20 bytes = 28 bytes
+ sizeof(HashSet for all active dynamic events)
| Field Summary | |
|---|---|
static int |
DRAW_PARAMETER_DYNAMIC
|
static int |
DRAW_SD_ARRAY
if set, the array brackets are drawn around the shape |
static int |
DRAW_SD_CONSTANT
|
static int |
DRAW_SD_EXTERNAL
|
static int |
DRAW_SD_LINK_DELAY
|
static int |
DRAW_SD_LINK_INITIAL
|
static int |
DRAW_SD_NEGATIVE
|
static int |
DRAW_SD_NO_SOURCE
|
static int |
DRAW_SD_NO_TARGET
|
static int |
DRAW_SD_PUBLIC_ONLY
|
static int |
DRAW_SD_SHADOW
|
static int |
DRAW_SD_ZERO
|
static int |
EVENT_TIMEOUT_MODE_CYCLIC
|
static int |
EVENT_TIMEOUT_MODE_ONCE
|
static int |
EVENT_TIMEOUT_MODE_USER
|
| Fields inherited from class com.xj.anylogic.engine.Utilities |
|---|
AM, APRIL, AUGUST, DAY, DECEMBER, FEBRUARY, FRIDAY, HOUR, infinity, JANUARY, JULY, JUNE, MARCH, MAY, MILLISECOND, MINUTE, MONDAY, MONTH, NOVEMBER, OCTOBER, PM, SATURDAY, SECOND, SEPTEMBER, SUNDAY, THURSDAY, TIME_UNIT_DAY, TIME_UNIT_HOUR, TIME_UNIT_MILLISECOND, TIME_UNIT_MINUTE, TIME_UNIT_SECOND, TIME_UNIT_WEEK, TUESDAY, UNDECIMBER, WEDNESDAY, WEEK, YEAR |
| Constructor Summary | |
|---|---|
ActiveObject(Engine engine,
ActiveObject owner,
ActiveObjectCollection<?> collection)
Constructs the active object, sets up its owner and list (if replicated). |
|
| Method Summary | |
|---|---|
void |
assignInitialConditions_xjal()
This method shouldn't be normally called by user. |
void |
create()
Creates the active object embedded objects; also calls user's onCreate() at the end. |
void |
drawActionChart(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
int xname,
int yname,
java.lang.String name,
java.awt.Color fillColor)
Draws an action chart image and its name at the given positions. |
void |
drawActionChartLink(Panel panel,
java.awt.Graphics2D g,
int x,
int yStart,
int yEnd)
Draws an action chart link at the given positions. |
void |
drawAuxiliaryVariable(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
java.lang.Object aux,
boolean constant,
boolean external,
boolean shadow)
Deprecated. will be removed in next release. Use drawAuxiliaryVariable(Panel, Graphics2D, int, int, int, int, String, Object, Color, int) |
void |
drawAuxiliaryVariable(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
java.lang.Object aux,
java.awt.Color color,
int drawingAttributes)
Draws an auxiliary variable image and its name at the given positions and displays the variable value underneath the name. |
void |
drawBranchExit(Panel panel,
java.awt.Graphics2D g,
int[] x,
int[] y,
int xname,
int yname,
java.lang.String name)
Draws a statechart branch exit (pseudotransition) and its name at the given position. |
void |
drawBranchState(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
short state)
Draws a statechart branch pseudostate and its name at the given position. |
static void |
drawBreakBlock(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
boolean continueOrBreak,
java.awt.Color fillColor)
Draws the action chart Brake/Continue Loop block shape. |
static void |
drawCausalLoop(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
boolean clockwise,
java.awt.Color color,
java.lang.String type,
java.lang.String text)
Draws a causal loop icon |
void |
drawCodeBlock(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
java.lang.String text,
boolean comment,
java.awt.Color fillColor)
Draws an action chart Code block image at the given positions. |
void |
drawConnector(Panel panel,
java.awt.Graphics2D g,
int[] x,
int[] y,
boolean variablesConnector)
Draws a port or variable connector |
void |
drawDecisionBlock(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
java.lang.String text,
boolean comment,
java.awt.Color fillColor,
boolean isTruePoint,
int trueX,
int trueY,
boolean isFalsePoint,
int falseX,
int falseY,
int areaHeight,
int appearance)
Draws an action chart Decision block image at the given positions. |
void |
drawDynamicEvent(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
java.lang.Class<?> c)
Draws a dynamic event image and its (class) name at the given positions. |
void |
drawEmbeddedObjectModel(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
ActiveObject embeddedObject)
Draws a non-replicated embedded object icon part at the given position. |
void |
drawEmbeddedObjectModel(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
ActiveObjectCollection<?> embeddedObjectList)
Draws a replicated embedded object icon part at the given position. |
void |
drawEmbeddedObjectModelDefault(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
ActiveObject embeddedObject)
Draws a non-replicated object default icon at the given position. |
void |
drawEmbeddedObjectModelDefault(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
ActiveObjectCollection<?> embeddedObjectList)
Draws a replicated embedded object default icon at the given position. |
void |
drawEnvironment(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
Environment<?> env)
|
void |
drawEvent(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
Event e)
Draws an event image and its name at the given positions. |
void |
drawFinalState(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
short state,
Statechart statechart)
Draws a statechart branch state and its name at the given position. |
void |
drawFlow(Panel panel,
java.awt.Graphics2D g,
int[] pointsX,
int[] pointsY,
int valveX,
int valveY,
float valveAngle,
int xname,
int yname,
java.lang.String name,
java.lang.Object flow,
java.awt.Color color,
int drawingAttributes)
Draws a flow image and its name at the given positions and displays the flow value underneath the name. |
void |
drawFlow(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
java.lang.Object flow,
boolean constant,
boolean external,
boolean shadow)
Deprecated. This method is no more supported and will be removed in next release. Use drawFlow(Panel, Graphics2D, int[], int[], int, int, float, int, int, String, Object, Color, int) |
static void |
drawFlowStockDependencyLine(Panel panel,
java.awt.Graphics2D g,
int xstart,
int ystart,
int xend,
int yend,
java.awt.Color color)
Deprecated. This method is no more supported and will be removed in next release. |
void |
drawHistoryState(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
short state,
boolean deep)
Draws a statechart history pseudostate and its name at the given position. |
void |
drawInitialStatePointer(Panel panel,
java.awt.Graphics2D g,
int xstart,
int ystart,
int xend,
int yend)
Draws an initial state pointer at the given position. |
static void |
drawLink(Panel panel,
java.awt.Graphics2D g,
java.awt.geom.Arc2D.Double arc,
java.awt.Color color,
int lineWidth,
java.lang.String polarity,
float polarityPosition,
int drawingAttributes)
Draws a link as arc with arrow. |
static void |
drawLink(Panel panel,
java.awt.Graphics2D g,
int xstart,
int ystart,
int xend,
int yend,
java.awt.Color color,
int lineWidth,
java.lang.String polarity,
float polarityPosition,
int drawingAttributes)
Draws a link as arrowline. |
void |
drawLocalVariable(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
java.lang.String text,
boolean comment,
java.awt.Color fillColor)
Draws an action chart Local Variable block image at the given positions. |
void |
drawLoopArea(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height)
Draws the action chart loop area shape at the given positions. |
void |
drawLoopBlock(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
java.lang.String text,
boolean comment,
java.awt.Color fillColor)
Draws an action chart Loop block image at the given positions. |
void |
drawParameter(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
java.lang.Object param,
boolean dynamic,
boolean array)
Deprecated. will be removed in next release. Use drawParameter(Panel, Graphics2D, int, int, int, int, String, Object, int) |
void |
drawParameter(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
java.lang.Object param,
int drawingAttributes)
Draws a parameter image and ins name at the given positions and displays the parameter toString text underneath the name. |
static void |
drawPlainDependencyArc(Panel panel,
java.awt.Graphics2D g,
java.awt.geom.Arc2D.Double arc,
java.awt.Color color)
Deprecated. will be removed in next release. Use drawLink(Panel, Graphics2D, java.awt.geom.Arc2D.Double, Color, int, String, float, int) |
static void |
drawPlainDependencyLine(Panel panel,
java.awt.Graphics2D g,
int xstart,
int ystart,
int xend,
int yend,
java.awt.Color color)
Deprecated. will be removed in next release. Use drawLink(Panel, Graphics2D, int, int, int, int, Color, int, String, float, int) |
void |
drawPort(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
Port<?,?> port)
Draws a port at the given position. |
void |
drawReturnBlock(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
java.lang.String text,
boolean comment,
java.awt.Color fillColor)
Draws an action chart Return block image at the given positions. |
void |
drawSchedule(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
Schedule<?> s)
Draws a schedule image and its name at the given positions. |
void |
drawState(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
int xname,
int yname,
java.lang.String name,
java.awt.Color color,
short state,
Statechart statechart)
Draws a statechart state and its name at the given position. |
void |
drawStatechartEntryPoint(Panel panel,
java.awt.Graphics2D g,
int xstart,
int ystart,
int xend,
int yend,
int xname,
int yname,
java.lang.String name,
Statechart statechart)
Draws a statechart entry point and the statechart name at the given position. |
void |
drawStock(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
int xname,
int yname,
java.lang.String name,
java.lang.Object stock,
java.awt.Color color,
int drawingAttributes)
Draws a stock image and its name at the given positions and displays the stock value underneath the name. |
void |
drawStock(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
java.lang.Object stock,
boolean shadow)
Deprecated. will be removed in next release. Use drawStock(Panel, Graphics2D, int, int, int, int, int, int, String, Object, Color, int) |
void |
drawTransition(Panel panel,
java.awt.Graphics2D g,
int[] x,
int[] y,
int xname,
int yname,
java.lang.String name,
Transition tr)
Draws a statechart transition and its name at the given position. |
void |
enterState(short state,
boolean destination)
Executes entry action of the state and starts the transitions outgoing the state. |
java.lang.RuntimeException |
error(java.lang.String errorText)
Signals an error during the model run by throwing a RuntimeException with errorText preceded by the active object full name. |
double |
evaluateRateOf(EventRate e)
Evaluates the rate expression of a rate event. |
double |
evaluateRateOf(TransitionRate t)
Evaluates the rate expression of a rate transition. |
double |
evaluateTimeoutOf(EventTimeout e)
Evaluates timeout expression of a timeout event. |
double |
evaluateTimeoutOf(TransitionTimeout t)
Evaluates timeout expression of a timeout transition. |
void |
executeActionOf(EventCondition e)
Executes action of a condition event. |
void |
executeActionOf(EventRate e)
Executes action of a rate event. |
void |
executeActionOf(EventTimeout e)
Executes action of a timeout event. |
void |
executeActionOf(Statechart s)
Executes startup action of a statechart: calls actions of the statechart entry point, entry action of initial states, starts the corresponding transitions, etc., and sets up the initially active simple state. |
void |
executeActionOf(TransitionCondition t)
Executes action of a condition transition. |
void |
executeActionOf(TransitionMessage t,
int msg)
Executes action of a message transition for int message type - depends on the message. |
void |
executeActionOf(TransitionMessage t,
java.lang.Object msg)
Executes action of a message transition for Object message type - depends on the message. |
void |
executeActionOf(TransitionRate t)
Executes action of a rate transition. |
void |
executeActionOf(TransitionTimeout t)
Executes action of a timeout transition. |
boolean |
executeOnReceiveActionOf(Port<?,?> p,
java.lang.Object msg)
Executes action code associated with a message being received at a port. |
boolean |
executeOnSendActionOf(Port<?,?> p,
java.lang.Object msg)
Executes action associated with a message being sent via a port. |
void |
exitInnerStates(short state,
Statechart statechart)
Calls ExitState() for all states inside state from the currently active simple state up to to state (not including state). |
void |
exitState(short state,
Transition t,
boolean source,
Statechart statechart)
Cancels all transitions outgoing the state (if source is true, except for t which is being taken and does not need to be canceled) and executes the state exit action. |
boolean |
finishSimulation()
Engine command applicable only in RUNNING or PAUSED state (in other states does nothing and returns false). |
void |
formulasExecute_xjal()
This method shouldn't be normally called by user. |
int |
getCameras3D(java.util.Map<java.lang.String,Camera3D> output)
Adds all Camera3D of this active object to the given
map output, if it is not null. |
short |
getContainerStateOf(short state)
Returns the immediate container state of a given state or -1 if the state is at the topmost level (has no container state). |
java.util.Set<DynamicEvent> |
getDynamicEvents()
Returns the set of all currently existing dynamic events of this active object. |
java.util.List<java.lang.Object> |
getEmbeddedObjects()
Creates and returns a list of embedded objects if there are any, null if there are none. |
Engine |
getEngine()
Returns the simulation engine where this object belongs to. |
double |
getFirstOccurrenceTime(EventTimeout e)
Returns the (absolute) time of first occurrence of a timeout event (of Once or Cyclic mode). |
java.lang.String |
getFullName()
Returns the name of the active object prefixed by the path from the root object to this one. |
int |
getIndex()
For a list-based replicated active object, returns its index in the list, otherwise returns -1. |
ActiveObjectIntegrationManager |
getIntegrationManager_xjal()
This method shouldn't be normally called by user. |
int |
getModeOf(EventTimeout e)
Returns mode of a timeout event: Cyclic, Once, User. |
java.lang.String |
getName()
Returns the name of this active object, i.e. the name of its instance in the owner object, with the index in square brackets for replicated objects. |
java.lang.String |
getNameOf(ActiveObject ao)
Returns the name of a simple (not replicated) embedded object. |
java.lang.String |
getNameOf(ActiveObjectCollection<?> aocollection)
Returns the name of a replicated embedded object. |
java.lang.String |
getNameOf(EventCondition e)
Returns the name of a condition event. |
java.lang.String |
getNameOf(EventRate e)
Returns the name of a rate event. |
java.lang.String |
getNameOf(EventTimeout e)
Returns the name of a timeout event. |
java.lang.String |
getNameOf(Port<?,?> p)
Returns the name of a port. |
java.lang.String |
getNameOf(Statechart s)
Returns the name of a statechart. |
java.lang.String |
getNameOf(TransitionCondition t)
Returns the name of a condition transition. |
java.lang.String |
getNameOf(TransitionMessage t)
Returns the name of a message transition. |
java.lang.String |
getNameOf(TransitionRate t)
Returns the name of a rate transition. |
java.lang.String |
getNameOf(TransitionTimeout t)
Returns the name of a timeout transition. |
java.lang.String |
getNameOfState(short state)
Returns the name of a statechart state. |
ActiveObject |
getOwner()
Returns the owner active object that encapsulates this one, null if this is the root object in the model. |
ShapeEmbeddedObjectPresentation |
getOwnerShape()
Returns the shape on owner's presentation, this object presentation belongs to |
Presentation |
getPresentation()
Returns the presentation object of the model, or null if there is none. |
ActiveObjectCollection<?> |
getReplicatedCollection()
For a replicated object returns the Collection of active objects embedded in the owner object where this active object belongs to, null if the object is not replicated. |
ActiveObjectList<?> |
getReplicatedList()
For a list-based replicated object returns the
List of active objects embedded in the owner object where
this active object belongs to,
null if the object is not replicated |
void |
getScalarPhaseVector_xjal(double[] D,
double[] A)
This method shouldn't be normally called by user. |
void |
getScalarPhaseVectorForInitialConditions_xjal(double[] D,
double[] A)
This method shouldn't be normally called by user. |
void |
getScalarRightPart_xjal(double[] DR,
double[] AR)
This method shouldn't be normally called by user. |
void |
getScalarRightPartForInitialConditions_xjal(double[] DR,
double[] AR)
This method shouldn't be normally called by user. |
Statechart |
getStatechartOf(TransitionCondition t)
Returns the statechart where the condition transition belongs to. |
Statechart |
getStatechartOf(TransitionMessage t)
Returns the statechart where the message transition belongs to. |
Statechart |
getStatechartOf(TransitionRate t)
Returns the statechart where the rate transition belongs to. |
Statechart |
getStatechartOf(TransitionTimeout t)
Returns the statechart where the timeout transition belongs to. |
boolean |
isReplicated()
Returns true if this object is embedded in its owner as replicated, i.e. as a member of a list of objects. |
void |
nothingChanged()
If called during an event execution, prevents the engine from calling onChange() of the active object that originated the event. |
void |
onChange()
Notification to the active object meaning "some of your data may have changed during this event". |
void |
onCreate()
Is called at the very end of create() method, i.e. when all parameters have been initialized, embedded objects are created (and their onCreate() has been called), but before any activities are started (no events are scheduled yet), thus also before the startup code is executed. |
void |
onDestroy()
Must be called when the active object is dynamically disposed. |
void |
onStartup()
Is called after all activities are started in the object (initial events are scheduled) and onStartup() has been called for the embedded objects, but before any steps are made. |
boolean |
pauseSimulation()
Engine command applicable only in RUNNING state (in other states does nothing and returns false). |
void |
putScalarPhaseVector_xjal(double[] D,
double[] A)
This method shouldn't be normally called by user. |
void |
putScalarPhaseVectorForInitialConditions_xjal(double[] D,
double[] A)
This method shouldn't be normally called by user. |
void |
restoreOwner(java.lang.Object owner)
This method normally should not be called by user This method restores owner of this object The method is used in snapshot saving/loading |
boolean |
runSimulation()
Engine command applicable only in PAUSED state (in other states does nothing and returns false). |
void |
setDestroyed()
Marks this object as subject to destruction after the current step is finished. |
void |
setEngine(Engine engine)
Sets the simulation engine for the object. |
void |
setOwnerShape_xjal(ShapeEmbeddedObjectPresentation ownerShape)
This method shouldn't be called by user. |
void |
setParametersToDefaultValues()
Sets all not dynamic parameters to their default values. |
static void |
setupPlainDependencyArc(java.awt.geom.Arc2D.Double arc,
double xstart,
double ystart,
double xend,
double yend,
double height)
Deprecated. this method is deprecated and will be removed in the next release |
void |
start()
Starts activities (e.g. schedules initial events) in this active object: events, statecharts and embedded objects, submits equations. |
boolean |
stateContainsState(short compstate,
short simpstate)
Checks if one state of a statechart contains another (deep contents - inside contained composite states - are also checked). |
boolean |
stopSimulation()
Engine command applicable only in any non-IDLE state (in IDLE state does nothing and returns false). |
boolean |
testConditionOf(EventCondition e)
Tests the condition expression of a condition event. |
boolean |
testConditionOf(TransitionCondition t)
Tests the condition expression of a transition event. |
boolean |
testGuardOf(TransitionCondition t)
Tests the guard expression of a condition transition. |
boolean |
testGuardOf(TransitionMessage t)
Tests the guard expression of a message transition. |
boolean |
testGuardOf(TransitionRate t)
Tests the guard expression of a rate transition. |
boolean |
testGuardOf(TransitionTimeout t)
Tests the guard expression of a timeout transition. |
boolean |
testMessageOf(TransitionMessage t,
java.lang.Object msg)
Tests the message received by the statechart against the trigger description of a message transition - for Object message type. |
java.lang.String |
toString()
Returns a (possibly, multi-line) textual information on the active object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int EVENT_TIMEOUT_MODE_CYCLIC
public static final int EVENT_TIMEOUT_MODE_ONCE
public static final int EVENT_TIMEOUT_MODE_USER
public static final int DRAW_SD_SHADOW
public static final int DRAW_SD_CONSTANT
public static final int DRAW_SD_EXTERNAL
public static final int DRAW_SD_NO_SOURCE
public static final int DRAW_SD_NO_TARGET
public static final int DRAW_SD_ARRAY
public static final int DRAW_SD_NEGATIVE
public static final int DRAW_SD_ZERO
public static final int DRAW_SD_LINK_INITIAL
public static final int DRAW_SD_LINK_DELAY
public static final int DRAW_SD_PUBLIC_ONLY
public static final int DRAW_PARAMETER_DYNAMIC
| Constructor Detail |
|---|
public ActiveObject(Engine engine,
ActiveObject owner,
ActiveObjectCollection<?> collection)
engine - the simulation engineowner - owner active object that encapsulates this one, or null if this is rootcollection - collection of replicated objects where this object belongs to or null if not replicated| Method Detail |
|---|
public void setEngine(Engine engine)
engine - the simulation engine that will handle this objectpublic Engine getEngine()
getEngine in class Presentablepublic Presentation getPresentation()
Presentable
getPresentation in class Presentablepublic java.lang.String getName()
public java.lang.String getFullName()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.RuntimeException error(java.lang.String errorText)
Utilities
error in class UtilitieserrorText - the text describing the error that will be displayed.
throw error("my message");public ActiveObject getOwner()
public ShapeEmbeddedObjectPresentation getOwnerShape()
public void setOwnerShape_xjal(ShapeEmbeddedObjectPresentation ownerShape)
public java.util.List<java.lang.Object> getEmbeddedObjects()
ActiveObjectCollection<? extends ActiveObject>
public boolean isReplicated()
public int getIndex()
java.lang.RuntimeException - if replicated object is not
list-based.public ActiveObjectList<?> getReplicatedList()
list-based replicated object returns the
List of active objects embedded in the owner object where
this active object belongs to,
null if the object is not replicated
java.lang.RuntimeException - if replicated object is not
list-based.getReplicatedCollection()public ActiveObjectCollection<?> getReplicatedCollection()
getReplicatedList()public void onCreate()
public void onStartup()
public void onChange()
nothingChanged().
public void nothingChanged()
onChange() of the active object that originated the event. Has effect only
within one event. Does not affect other active objects where the user may have
manually called onChange() or it may have got called by ports, etc.
public java.util.Set<DynamicEvent> getDynamicEvents()
public java.lang.String getNameOf(EventTimeout e)
e - the event
public int getModeOf(EventTimeout e)
e - the event
public double getFirstOccurrenceTime(EventTimeout e)
e - the event
public double evaluateTimeoutOf(EventTimeout e)
e - the event
public void executeActionOf(EventTimeout e)
e - the eventpublic java.lang.String getNameOf(EventRate e)
e - the event
public double evaluateRateOf(EventRate e)
e - the event
public void executeActionOf(EventRate e)
e - the eventpublic java.lang.String getNameOf(EventCondition e)
e - the event
public boolean testConditionOf(EventCondition e)
e - the event
public void executeActionOf(EventCondition e)
e - the eventpublic java.lang.String getNameOf(Statechart s)
s - the statechart
public void executeActionOf(Statechart s)
s - the statechartpublic java.lang.String getNameOfState(short state)
state - the state
public boolean stateContainsState(short compstate,
short simpstate)
compstate - the (possibly) composite statesimpstate - the (possibly) simple state
compstate contains simpstatepublic short getContainerStateOf(short state)
state - the state whose immediate container is being looked for
public void enterState(short state,
boolean destination)
state - the state that is being entereddestination - true if the transition being taken points exactly to this state (for composite states)
public void exitState(short state,
Transition t,
boolean source,
Statechart statechart)
state - the state that is being exitedt - the transition that is being executed and causes the exitsource - true if the transition being taken exits exactly this state (for composite states)statechart - the statechart whose transition is being taken
public final void exitInnerStates(short state,
Statechart statechart)
state - the state that is being exitedstatechart - the statechart whose transition is being takenpublic java.lang.String getNameOf(TransitionTimeout t)
t - the transition
public double evaluateTimeoutOf(TransitionTimeout t)
t - the transition
public boolean testGuardOf(TransitionTimeout t)
t - the transition
public void executeActionOf(TransitionTimeout t)
t - the transitionpublic Statechart getStatechartOf(TransitionTimeout t)
t - the transition.
public java.lang.String getNameOf(TransitionRate t)
t - the transition
public double evaluateRateOf(TransitionRate t)
t - the transition
public boolean testGuardOf(TransitionRate t)
t - the transition
public void executeActionOf(TransitionRate t)
t - the transitionpublic Statechart getStatechartOf(TransitionRate t)
t - the transition.
public java.lang.String getNameOf(TransitionCondition t)
t - the transition
public boolean testConditionOf(TransitionCondition t)
t - the transition
public boolean testGuardOf(TransitionCondition t)
t - the transition
public void executeActionOf(TransitionCondition t)
t - the transitionpublic Statechart getStatechartOf(TransitionCondition t)
t - the transition.
public java.lang.String getNameOf(TransitionMessage t)
t - the transition
public boolean testMessageOf(TransitionMessage t,
java.lang.Object msg)
t - the transition.msg - the message received
public boolean testGuardOf(TransitionMessage t)
t - the transition
public void executeActionOf(TransitionMessage t,
java.lang.Object msg)
t - the transitionmsg - the message received
public void executeActionOf(TransitionMessage t,
int msg)
t - the transitionmsg - the message receivedpublic Statechart getStatechartOf(TransitionMessage t)
t - the transition.
public java.lang.String getNameOf(Port<?,?> p)
p - the port
public boolean executeOnSendActionOf(Port<?,?> p,
java.lang.Object msg)
p - the portmsg - the message being sent
public boolean executeOnReceiveActionOf(Port<?,?> p,
java.lang.Object msg)
p - the portmsg - the message being receivedpublic java.lang.String getNameOf(ActiveObject ao)
ao - the embedded active object
public java.lang.String getNameOf(ActiveObjectCollection<?> aocollection)
aocollection - the embedded collection of active objects
public int getCameras3D(java.util.Map<java.lang.String,Camera3D> output)
Camera3D of this active object to the given
map output, if it is not null.0.
output - the map for 3D cameras (field name -> 3D camera),
not cleared by this method, may be null: in this
case the method only returns the number of 3D cameras.
@Deprecated
public void drawParameter(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
java.lang.Object param,
boolean dynamic,
boolean array)
drawParameter(Panel, Graphics2D, int, int, int, int, String, Object, int)
public void drawParameter(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
java.lang.Object param,
int drawingAttributes)
panel - the presentation panelg - the graphics contextx - x coordinate of the parameter image (center)y - y coordinate of the parameter image (center)xname - x coordinate of the parameter name textyname - y coordinate of the parameter name textname - the parameter nameparam - the parameter itself (or null for dynamic parameter)drawingAttributes - a combination of DRAW_SD_* constants, not all attributes are applicable for this operation
@Deprecated
public void drawStock(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
java.lang.Object stock,
boolean shadow)
drawStock(Panel, Graphics2D, int, int, int, int, int, int, String, Object, Color, int)
public void drawStock(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
int xname,
int yname,
java.lang.String name,
java.lang.Object stock,
java.awt.Color color,
int drawingAttributes)
panel - the presentation panelg - the graphics contextx - x coordinate of the stock image (center)y - y coordinate of the stock image (center)width - the width of the stock imageheight - the height of the stock imagexname - x coordinate of the stock name textyname - y coordinate of the stock name textname - the stock namestock - the stock itselfcolor - the color of the stock imagedrawingAttributes - a combination of DRAW_SD_* constants, not all attributes are applicable for this operation
@Deprecated
public void drawFlow(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
java.lang.Object flow,
boolean constant,
boolean external,
boolean shadow)
drawFlow(Panel, Graphics2D, int[], int[], int, int, float, int, int, String, Object, Color, int)
public void drawFlow(Panel panel,
java.awt.Graphics2D g,
int[] pointsX,
int[] pointsY,
int valveX,
int valveY,
float valveAngle,
int xname,
int yname,
java.lang.String name,
java.lang.Object flow,
java.awt.Color color,
int drawingAttributes)
panel - the presentation panelg - the graphics contextpointsX - array of x coordinates of the flow arrow pointspointsY - array of y coordinates of the flow arrow pointsvalveX - x coordinate of the flow valve image (center)valveY - y coordinate of the flow valve image (center)valveAngle - the orientation angle of the flow valve image, in radiansxname - x coordinate of the flow name textyname - y coordinate of the flow name textname - the flow nameflow - the flow itself, either HyperArray or doublecolor - the color of the flow arrowdrawingAttributes - a combination of DRAW_SD_* constants, not all attributes are applicable for this operation
@Deprecated
public void drawAuxiliaryVariable(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
java.lang.Object aux,
boolean constant,
boolean external,
boolean shadow)
drawAuxiliaryVariable(Panel, Graphics2D, int, int, int, int, String, Object, Color, int)
public void drawAuxiliaryVariable(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
java.lang.Object aux,
java.awt.Color color,
int drawingAttributes)
panel - the presentation panelg - the graphics contextx - x coordinate of the variable image (center)y - y coordinate of the variable image (center)xname - x coordinate of the variable name textyname - y coordinate of the variable name textname - the variable nameaux - the variable itself, either HyperArray or doublecolor - the color of the variable imagedrawingAttributes - a combination of DRAW_SD_* constants, not all attributes are applicable for this operation
@Deprecated
public static final void setupPlainDependencyArc(java.awt.geom.Arc2D.Double arc,
double xstart,
double ystart,
double xend,
double yend,
double height)
arc - the arc objectxstart - the x coordinate of the dependency source variableystart - the y coordinate of the dependency source variablexend - the x coordinate of the dependency target variableyend - the y coordinate of the dependency target variableheight - the arch height (maximum distance of the arc from the chord)
@Deprecated
public static void drawPlainDependencyArc(Panel panel,
java.awt.Graphics2D g,
java.awt.geom.Arc2D.Double arc,
java.awt.Color color)
drawLink(Panel, Graphics2D, java.awt.geom.Arc2D.Double, Color, int, String, float, int)
public static void drawLink(Panel panel,
java.awt.Graphics2D g,
java.awt.geom.Arc2D.Double arc,
java.awt.Color color,
int lineWidth,
java.lang.String polarity,
float polarityPosition,
int drawingAttributes)
panel - the presentation panelg - the graphics where the drawing takes placearc - the pre-set arc object to drawcolor - the color of the arc or null for the default colorlineWidth - the width of the link linepolarity - polarity sign, may be null, "+", "-" or any other characterpolarityPosition - polarity sign positiondrawingAttributes - a combination of DRAW_SD_* constants, not all attributes are applicable for this operation
@Deprecated
public static void drawPlainDependencyLine(Panel panel,
java.awt.Graphics2D g,
int xstart,
int ystart,
int xend,
int yend,
java.awt.Color color)
drawLink(Panel, Graphics2D, int, int, int, int, Color, int, String, float, int)
public static void drawLink(Panel panel,
java.awt.Graphics2D g,
int xstart,
int ystart,
int xend,
int yend,
java.awt.Color color,
int lineWidth,
java.lang.String polarity,
float polarityPosition,
int drawingAttributes)
panel - the presentation panelg - the graphics where the drawing takes placexstart - the x coordinate of the line start pointystart - the y coordinate of the line start pointxend - the x coordinate of the line end pointyend - the y coordinate of the line end pointcolor - the color of the line or null for the default colorlineWidth - the width of the link linepolarity - polarity sign, may be null, "+", "-" or any other characterpolarityPosition - polarity sign positiondrawingAttributes - a combination of DRAW_SD_* constants, not all attributes are applicable for this operation
@Deprecated
public static void drawFlowStockDependencyLine(Panel panel,
java.awt.Graphics2D g,
int xstart,
int ystart,
int xend,
int yend,
java.awt.Color color)
public static void drawCausalLoop(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
boolean clockwise,
java.awt.Color color,
java.lang.String type,
java.lang.String text)
panel - the presentation panelg - the graphics where the drawing takes placex - the x coordinate of the causal loop icon centery - the y coordinate of the causal loop icon centerclockwise - the direction of the causal loop arrow, true for CW, false for CCWcolor - the color of the causal loop icontype - "B" or "R" typically, but can be any stringtext - some text which will be written under loop icon, may be null
public void drawEvent(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
Event e)
panel - the presentation panelg - the graphics contextx - x coordinate of the event image (center)y - y coordinate of the event image (center)xname - x coordinate of the event name textyname - y coordinate of the event name textname - the name of the event, or nulle - the event itself
public void drawDynamicEvent(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
java.lang.Class<?> c)
panel - the presentation panelg - the graphics contextx - x coordinate of the dynamic event image (center)y - y coordinate of the dynamic event image (center)xname - x coordinate of the dynamic event name textyname - y coordinate of the dynamic event name textname - the name of the event, or nullc - the dynamic event class
public void drawSchedule(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
Schedule<?> s)
Presentable
drawSchedule in class Presentablepanel - the presentation panelg - the graphics contextx - x coordinate of the schedule image (center)y - y coordinate of the schedule image (center)xname - x coordinate of the schedule name textyname - y coordinate of the schedule name textname - the name of the schedule, or nulls - the schedule itself
public void drawState(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
int xname,
int yname,
java.lang.String name,
java.awt.Color color,
short state,
Statechart statechart)
panel - the presentation panelg - the graphics contextx - x coordinate of the state upper left cornery - y coordinate of the state upper left cornerwidth - width of the state rectangleheight - height of the state rectanglexname - x coordinate of the state name textyname - y coordinate of the state name textname - the name of the state, or nullcolor - fill color of the state as defined by the userstate - the state itselfstatechart - the statechart where the state belongs to
public void drawHistoryState(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
short state,
boolean deep)
panel - the presentation panelg - the graphics contextx - x coordinate of the state centery - y coordinate of the state centerxname - x coordinate of the state name textyname - y coordinate of the state name textname - the name of the state, or nullstate - the state iddeep - if true, this is deep history state, otherwise shallow
public void drawBranchState(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
short state)
panel - the presentation panelg - the graphics contextx - x coordinate of the state centery - y coordinate of the state centerxname - x coordinate of the state name textyname - y coordinate of the state name textname - the name of the state, or nullstate - the state id
public void drawFinalState(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
short state,
Statechart statechart)
panel - the presentation panelg - the graphics contextx - x coordinate of the state centery - y coordinate of the state centerxname - x coordinate of the state name textyname - y coordinate of the state name textname - the name of the state, or nullstate - the state idstatechart - the statechart where the state belongs to
public void drawTransition(Panel panel,
java.awt.Graphics2D g,
int[] x,
int[] y,
int xname,
int yname,
java.lang.String name,
Transition tr)
panel - the presentation panelg - the graphics contextx - array of x coordinates of the transition base pointsy - array of y coordinates of the transition base pointsxname - x coordinate of the transition name textyname - y coordinate of the transition name textname - the name of the transition, or nulltr - the transition itself
public void drawBranchExit(Panel panel,
java.awt.Graphics2D g,
int[] x,
int[] y,
int xname,
int yname,
java.lang.String name)
panel - the presentation panelg - the graphics contextx - array of x coordinates of the pseudotransition base pointsy - array of y coordinates of the pseudotransition base pointsxname - x coordinate of the pseudotransition name textyname - y coordinate of the pseudotransition name textname - name of the branch exit
public void drawStatechartEntryPoint(Panel panel,
java.awt.Graphics2D g,
int xstart,
int ystart,
int xend,
int yend,
int xname,
int yname,
java.lang.String name,
Statechart statechart)
panel - the presentation panelg - the graphics contextxstart - the x coordinate of the line start pointystart - the y coordinate of the line start pointxend - the x coordinate of the line end pointyend - the y coordinate of the line end pointxname - x coordinate of the statechart name textyname - y coordinate of the statechart name textname - the name of the statechart, or nullstatechart - the statechart itself
public void drawInitialStatePointer(Panel panel,
java.awt.Graphics2D g,
int xstart,
int ystart,
int xend,
int yend)
panel - the presentation panelg - the graphics contextxstart - the x coordinate of the line start pointystart - the y coordinate of the line start pointxend - the x coordinate of the line end pointyend - the y coordinate of the line end point
public void drawActionChart(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
int xname,
int yname,
java.lang.String name,
java.awt.Color fillColor)
panel - the presentation panelg - the graphics where the drawing takes placex - the x coordinate of the action chart shapey - the y coordinate of the action chart shapewidth - the width of the action chart shapeheight - the height of the action chart shapexname - the x coordinate of the action chart nameyname - the y coordinate of the action chart namename - the action chart namefillColor - the fill color of the action chart shape
public void drawCodeBlock(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
java.lang.String text,
boolean comment,
java.awt.Color fillColor)
panel - the presentation panelg - the graphics where the drawing takes placex - the x coordinate of the action chart Code block shapey - the y coordinate of the action chart Code block shapewidth - the width of the action chart Code block shapeheight - the height of the action chart Code block shapetext - the text to be drawn inside the blockcomment - whether the text is a comment or codefillColor - the fill color of the action Code block element shape
public void drawLocalVariable(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
java.lang.String text,
boolean comment,
java.awt.Color fillColor)
panel - the presentation panelg - the graphics where the drawing takes placex - the x coordinate of the action chart Local Variable block shapey - the y coordinate of the action chart Local Variable block shapewidth - the width of the action chart Local Variable block shapeheight - the height of the action chart Local Variable block shapetext - the text to be drawn inside the blockcomment - whether the text is a comment or codefillColor - the fill color of the action chart Local Variable block shape
public void drawLoopBlock(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
java.lang.String text,
boolean comment,
java.awt.Color fillColor)
panel - the presentation panelg - the graphics where the drawing takes placex - the x coordinate of the action chart Loop block shapey - the y coordinate of the action chart Loop block shapewidth - the width of the action chart Loop block shapeheight - the height of the action chart Loop block shapetext - the text to be drawn inside the blockcomment - whether the text is a comment or codefillColor - the fill color of the action chart Loop block shape
public void drawLoopArea(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height)
panel - the presentation panelg - the graphics where the drawing takes placex - the x coordinate of the action chart loop area shapey - the y coordinate of the action chart loop area shapewidth - the width of the action chart loop area shapeheight - the height of the action chart loop area shape
public void drawDecisionBlock(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
java.lang.String text,
boolean comment,
java.awt.Color fillColor,
boolean isTruePoint,
int trueX,
int trueY,
boolean isFalsePoint,
int falseX,
int falseY,
int areaHeight,
int appearance)
panel - the presentation panelg - the graphics where the drawing takes placex - the x coordinate of the action chart Decision block shapey - the y coordinate of the action chart Decision block shapewidth - the width of the action chart Decision block shapeheight - the height of the action chart Decision block shapetext - the text to be drawn inside the blockcomment - whether the text is a comment or codefillColor - the fill color of the action chart Decision block shapeisTruePoint - whether this decision has true branch not interrupted with Return blocktrueX - the x coordinate of the starting point of final true branchtrueY - the y coordinate of the starting point of final true branchisFalsePoint - whether this decision has false branch not interrupted with Return blockfalseX - the x coordinate of the starting point of final false branchfalseY - the y coordinate of the starting point of final false branchareaHeight - the height of the area under the Decision blockappearance - custom flags defining how the branches are being drawn
public void drawReturnBlock(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
java.lang.String text,
boolean comment,
java.awt.Color fillColor)
panel - the presentation panelg - the graphics where the drawing takes placex - the x coordinate of the action chart Return block shapey - the y coordinate of the action chart Return block shapewidth - the width of the action chart Return block shapeheight - the height of the action chart Return block shapetext - the text to be drawn inside the blockcomment - whether the text is a comment or codefillColor - the fill color of the action chart Return block shape
public static void drawBreakBlock(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int width,
int height,
boolean continueOrBreak,
java.awt.Color fillColor)
panel - the presentation panelg - the graphics where the drawing takes placex - the x coordinate of the action chart Return block shapey - the y coordinate of the action chart Return block shapewidth - the width of the action chart Return block shapeheight - the height of the action chart Return block shapecontinueOrBreak - block type (true = continue; false = break)fillColor - the fill color of the action chart shape
public void drawActionChartLink(Panel panel,
java.awt.Graphics2D g,
int x,
int yStart,
int yEnd)
panel - the presentation panelg - the graphics where the drawing takes placex - the x coordinate of the action chart link shapeyStart - the y coordinate of the action chart link shape startyEnd - the y coordinate of the action chart link shape end
public void drawPort(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
Port<?,?> port)
panel - the presentation panelg - the graphics contextx - the x coordinate of the porty - the y coordinate of the portxname - the x coordinate of the port nameyname - the y coordinate of the port namename - the name of the port, or nullport - the port
public void drawConnector(Panel panel,
java.awt.Graphics2D g,
int[] x,
int[] y,
boolean variablesConnector)
panel - the presentation panelg - the graphics contextx - array of x coordinates of the connector base pointsy - array of y coordinates of the connector base pointsvariablesConnector - either this connector is connector between variables or not
public void drawEnvironment(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
Environment<?> env)
public void drawEmbeddedObjectModel(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
ActiveObject embeddedObject)
panel - the presentation panelg - the graphics contextx - the x coordinate of the embedded objecty - the y coordinate of the embedded objectxname - the x coordinate of the embedded object nameyname - the y coordinate of the embedded object namename - the name of the embedded object, or nullembeddedObject - the embedded object
public void drawEmbeddedObjectModel(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
ActiveObjectCollection<?> embeddedObjectList)
panel - the presentation panelg - the graphics contextx - the x coordinate of the embedded objecty - the y coordinate of the embedded objectxname - the x coordinate of the embedded object nameyname - the y coordinate of the embedded object namename - the name of the embedded object, or nullembeddedObjectList - the replicated embedded object
public void drawEmbeddedObjectModelDefault(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
ActiveObject embeddedObject)
panel - the presentation panelg - the graphics contextx - the x coordinate of the embedded objecty - the y coordinate of the embedded objectxname - the x coordinate of the embedded object nameyname - the y coordinate of the embedded object namename - the name of the embedded object, or nullembeddedObject - the embedded object
public void drawEmbeddedObjectModelDefault(Panel panel,
java.awt.Graphics2D g,
int x,
int y,
int xname,
int yname,
java.lang.String name,
ActiveObjectCollection<?> embeddedObjectList)
panel - the presentation panelg - the graphics contextx - the x coordinate of the embedded objecty - the y coordinate of the embedded objectxname - the x coordinate of the embedded object nameyname - the y coordinate of the embedded object namename - the name of the embedded object, or nullembeddedObjectList - the replicated embedded objectpublic void setParametersToDefaultValues()
public void create()
public void start()
public boolean stopSimulation()
true
immediately, leaving the model in PLEASE_WAIT state. Model is stopped and destroyed
some time later (After Simulation Run code of an experiment or On Destroy code
of root Active Object may be used to handle this moment)finishSimulation() method
in such situations
true.
Engine.stop()public boolean finishSimulation()
false). Sets a flag that, when tested by the engine,
causes it to finish after completing the current event execution. Further behavior
depends on context where this method is called:
true immediately.
Model is finished just after current event execution (After Simulation Run code
of an experiment may be used to handle this moment)true.
Engine.finish()public boolean pauseSimulation()
false). Puts the engine into PLEASE_WAIT state and then sets a flag
that, when tested by the engine, causes it to pause after completing the
current event execution. Further behavior depends on context where this method is called:
true immediately. Model is finished just after
current event execution
true.
Engine.pause()public boolean runSimulation()
Engine.run()public void setDestroyed()
public void onDestroy()
setDestroyed()
instead
public ActiveObjectIntegrationManager getIntegrationManager_xjal()
public void getScalarPhaseVector_xjal(double[] D,
double[] A)
D - A -
public void putScalarPhaseVector_xjal(double[] D,
double[] A)
D - A - public void formulasExecute_xjal()
public void getScalarPhaseVectorForInitialConditions_xjal(double[] D,
double[] A)
D - A -
public void putScalarPhaseVectorForInitialConditions_xjal(double[] D,
double[] A)
D - A -
public void getScalarRightPartForInitialConditions_xjal(double[] DR,
double[] AR)
public void getScalarRightPart_xjal(double[] DR,
double[] AR)
DR - AR - public void assignInitialConditions_xjal()
public void restoreOwner(java.lang.Object owner)
restoreOwner in interface com.xj.anylogic.engine.internal.Childowner - owner of this object, usually ActiveObject,
Experiment or
ShapeGroup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||