AnyLogic
Expand
Font size
PackageDescription
com.anylogic.engine 
com.anylogic.engine.analysis 
com.anylogic.engine.connectivity 
com.anylogic.engine.database 
com.anylogic.engine.markup 
com.anylogic.engine.omniverse_connector 
com.anylogic.engine.optimization 
com.anylogic.engine.presentation 

Uses of AnyLogicInternalCodegenAPI in com.anylogic.engine

Modifier and TypeInterfaceDescription
interface AgentExtension
Base interface for extensions of Agents.
static enum Engine.SolverDAEType
The solver type for mixed differential-algebraic equations
static enum Engine.SolverNAEType
The solver type for algebraic equations
static enum Engine.SolverODEType
The solver type for ordinary differential equations
static enum EventTimeout.Mode 
class IRunValueDescriptorImpl<T> 
enum OptimizationEngine 
class SDIntegrationManager
This class solves a system of algebraic differential equations.
class VariableDelay
This class is designed for internal use inside AnyLogic code generation, it shouldn't be explicitly accessed by users.
VariableDelay object accumulates a history of an expression (of type double or HyperArray and generates delayed values of the expression using the accumulated information.
Modifier and TypeFieldDescription
static final ObjectAgent._ARRIVAL_message_xjal
This variable shouldn't be accessed by user: it is used internally by AnyLogic and may be renamed/removed in future
static final EventTimeout.ModeAgentConstants.EVENT_TIMEOUT_MODE_CYCLIC 
static final EventTimeout.ModeAgentConstants.EVENT_TIMEOUT_MODE_ONCE 
static final EventTimeout.ModeAgentConstants.EVENT_TIMEOUT_MODE_USER 
Modifier and TypeMethodDescription
voidAgentArrayList._add(E agent) 
voidAgentLinkedHashSet._add(E agent) 
abstract voidAgentList._add(E agent)
This method should not be called by user
Call add_EONAME() method of class containing embedded object with name EONAME or agent.goToPopulation( population )
static EngineAgent._initGetEngine_xjal(Agent owner)
This method shouldn't be called by user. It is public due to technical reasons.
booleanAgentArrayList._remove(Agent agent) 
booleanAgentLinkedHashSet._remove(Agent agent) 
abstract booleanAgentList._remove(Agent agent)
This method should not be called by user
Call remove_EONAME() method of class containing embedded object with name EONAME or agent.goToPopulation( null )
voidExperimentOptimization.addConstraint(IPreConstraint constraint) 
voidExperimentOptimization.addParameterVariable(IVariable parameter)
Adds the variable defined by the input parameter to the optimization

This is optimization setup method, user should not call it
voidExperimentOptimization.addRequirement(IPostConstraint requirement)
Adds the requirement defined by the input parameter to the optimization

This is optimization setup method, user should not call it
voidExperimentOptimization.addSuggestedSolution()
This method signals the completion of a suggested solution definition.
#setParameterVariableSuggestedValue(COptQuestVariable, double) is used to set a value for each variable.
This method signals a value has been set for each variable.
The solution is added to the set of suggested solution and will be one of the first solutions evaluated if the optimization has not started.
If the optimization is running, the suggested solution will be one of the next solutions to be evaluated

This is optimization setup method, user should not call it
voidAgent.assignInitialConditions_xjal()
This method shouldn't be normally called by user.
This function assigns initial conditions for stocks and for flow aux variables
default Collection<T>IStatechartState.calculateAllSimpleStatesDeep() 
default Set<T>IStatechartState.calculateFullState() 
int[]ExperimentParamVariation.calculateRangeParameterValuesNumbers()
This method should be overridden in experiments which work with parameters varied in range
This method will be called only one time
default Set<T>IStatechartState.calculateStatesInside() 
voidAgentList.callCreate(E agent, int index)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Calls Agent.create() and performs some other population-related initializations (if required)
voidAgentList.callCreate(E agent, int index, TableInput tableInput)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Calls Agent.create() and performs some other population-related initializations (if required)
voidAgentList.callSetupParameters(E agent, int index)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Sets agent parameters to the values defined in population
voidAgentList.callSetupParameters(E agent, int index, TableInput tableInput)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Sets agent parameters to the values defined in population
voidEventOriginator.cancel()
Deprecated.
User should not call this method for events, call reset() instead
abstract voidTransition.cancel()
Should be called when this transition becomes deactivated e.g.
voidTransitionCondition.cancel()
Should be called when this transition becomes deactivated e.g.
voidTransitionMessage.cancel()
Should be called when this transition becomes deactivated e.g.
voidTransitionRate.cancel()
Should be called when this transition becomes deactivated e.g.
voidTransitionTimeout.cancel()
Should be called when this transition becomes deactivated e.g.
static MarkupSegment[]Utilities.convertMarkupSegmentDescriptors_xjal(MarkupSegmentDescriptor[] descriptors)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
final voidAgent.createAsEmbedded()
Internal method to be called for embedded agents inside Agent.doCreate() of an upper-level agent.
IBinaryVariableExperimentOptimization.createBinaryVariable_xjal() 
IContinuousVariableExperimentOptimization.createContinuousVariable_xjal() 
IDiscreteVariableExperimentOptimization.createDicsreteVariable_xjal() 
static Map<String,IElementDescriptor>Presentable.createElementDescriptors(Class<?> presentableClass)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
ROOTExperimentReinforcementLearning.createModel() 
IObjectiveExperimentOptimization.createObjective_xjal() 
IPostConstraintExperimentOptimization.createPostConstraint_xjal() 
IPreConstraintExperimentOptimization.createPreConstraint_xjal() 
abstract ROOTExperiment.createRoot(Engine engine)
Is called to obtain a new top-level agent.
abstract ROOTExperimentReinforcementLearning.createRoot(Engine engine)
Is called to obtain a new top-level agent.
static URLUtilities.createURL_xjal(String url)
Creates an URL object from the String representation
voidAgent.createUsdObjects() 
voidAgent.doAfterCreate()
Internal callback to perform additional "after all agents created" actions.
voidAgent.doCreate()
Creates the agent embedded objects.
If there are any embedded objects, this method should be implemented in subclass to instantiate them, setup their parameters and call agent.Agent.createAsEmbedded() method on each agent.
voidAgent.doFinish()
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
voidAgent.doStart()
Starts activities (e.g.
intSDIntegrationManager.doStep(Agent ao, double currentTime, double TOUT, boolean initialConditionsSolving)
Does integration step for the given agent
voidAgent.drawLinksToAgents(boolean underAgents, LinkToAgentAnimator animator)
This method automatically generated by AnyLogic.
voidExperimentOptimization.evaluateConstraints(List<? extends IPreConstraint> constraints, List<? extends IVariable> variables) 
doubleAgent.evaluateRateOf(EventRate e)
Evaluates the rate expression of a rate event.
Must be implemented in a subclass if there are any rate events.
doubleAgent.evaluateRateOf(TransitionRate t)
Evaluates the rate expression of a rate transition.
Must be implemented in a subclass if there are any rate transitions.
booleanExperimentParamVariation.evaluateStopConditions(ROOT root)
User's extension point for experiment stop conditions
By default returns false
doubleAgent.evaluateTimeoutOf(EventTimeout e)
Evaluates timeout expression of a timeout event.
Must be implemented in a subclass if there are any timeout events.
doubleAgent.evaluateTimeoutOf(TransitionTimeout t)
Evaluates timeout expression of a timeout transition.
Must be implemented in a subclass if there are any timeout transitions.
voidAgent.executeActionOf(EventCondition e)
Executes action of a condition event.
Implementation in a subclass can be skipped if the action(s) are empty.
voidAgent.executeActionOf(EventRate e)
Executes action of a rate event.
Implementation in a subclass can be skipped if the action(s) are empty.
voidAgent.executeActionOf(EventTimeout e)
Executes action of a timeout event.
Implementation in a subclass can be skipped if the action(s) are empty.
voidAgent.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.
Must be implemented in a subclass if there are any statecharts.
voidAgent.executeActionOf(TransitionCondition t)
Executes action of a condition transition.
Implementation in a subclass can be skipped if the action(s) are empty.
voidAgent.executeActionOf(TransitionMessage t, int msg)
Executes action of a message transition for int message type - depends on the message.
Implementation in a subclass can be skipped if the action(s) are empty.
voidAgent.executeActionOf(TransitionMessage t, Object msg)
Executes action of a message transition for Object message type - depends on the message.
Implementation in a subclass can be skipped if the action(s) are empty.
voidAgent.executeActionOf(TransitionRate t)
Executes action of a rate transition.
Implementation in a subclass can be skipped if the action(s) are empty.
voidAgent.executeActionOf(TransitionTimeout t)
Executes action of a timeout transition.
Implementation in a subclass can be skipped if the action(s) are empty.
booleanAgent.executeOnReceiveActionOf(Port<?,?> p, Object msg)
Executes action code associated with a message being received at a port.
booleanAgent.executeOnSendActionOf(Port<?,?> p, Object msg)
Executes action associated with a message being sent via a port.
voidPresentable.executeShapeControlAction(int id, int index)
Deprecated.
voidPresentable.executeShapeControlAction(int id, int index, boolean value)
Deprecated.
voidPresentable.executeShapeControlAction(int id, int index, double value)
Deprecated.
voidPresentable.executeShapeControlAction(int id, int index, int value)
Deprecated.
voidPresentable.executeShapeControlAction(int id, int index, String value)
Deprecated.
voidPresentable.executeShapeControlAction(int id, int index, String value, String[] values)
Deprecated.
voidAgent.formulasExecute_xjal()
This method shouldn't be normally called by user.
Executes formulas defined in this agent.
AgentAnimationSettingsAgent.getAnimationSettingsOf(Agent ao)
Returns the animation settings of a simple (not replicated) embedded object.
Must be implemented in a subclass if there are any embedded objects.
AgentAnimationSettingsAgent.getAnimationSettingsOf(AgentList<?> aocollection)
Returns the animation settings of a replicated embedded object.
Must be implemented in a subclass if there are any replicated embedded objects.
AbstractLinkToAgent<A,T>AbstractLinkToAgent.getBidirectionalPeer_xjal(T agent)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
AbstractLinkToAgent<A,T>LinkToAgentCollectionImpl.getBidirectionalPeer_xjal(T agent) 
AbstractLinkToAgent<A,T>LinkToAgentImpl.getBidirectionalPeer_xjal(T agent) 
AbstractLinkToAgent<A,T>LinkToAgentStandardImpl.getBidirectionalPeer_xjal(T agent) 
intAgent.getCameras3D(Map<String,Camera3D> output)
Adds all Camera3D of this agent to the given map output, if it is not null.
Default implementation does nothing and returns 0.
<T extends Enum<T> & IStatechartState<?, T>>
T
Agent.getContainerStateOf(T state)
Deprecated.
ObjectExperimentOptimization.getCurrentParam(IVariable optimizationParameterVariable) 
intAgent.getDifferentialFlatEquationsCount_xjal()
This method shouldn't be normally called by user.
<T> TPresentable.getElementProperty(String elementName, String propertyName)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
doubleAgent.getFirstOccurrenceTime(EventTimeout e)
Returns the (absolute) time of first occurrence of a timeout event (of Once or Cyclic mode).
intAgent.getIdOf(Statechart<?> s)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Returns some ordinal number of this statechart in the agent type (like id, among all statecharts, respecting agent type inheritance)
intAgent.getInitialAlgebraicFlatEquationsCount_xjal()
This method shouldn't be normally called by user.
intAgent.getInitialFormulaFlatEquationsCount_xjal()
This method shouldn't be normally called by user.
doubleVariableDelay.getInitialValue()
Returns value of the expression being delayed
This method should be overridden in scalar delays having custom (non-zero) initial value
voidVariableDelay.getInitialValue(HyperArray array)
Tags default arrayed sample into array
This method should be overridden in arrayed delays with custom (non-zero) initial value to fill the whole array data
doubleVariableDelay.getInput()
Returns value of the expression being delayed
This method should be overridden in scalar delays
voidVariableDelay.getInput(HyperArray array)
Tags arrayed sample into array
This method should be overridden in arrayed delays to fill the whole array data
SDIntegrationManagerAgent.getIntegrationManager_xjal()
This method shouldn't be normally called by user.
Returns static integration manager defined in derived classes.
doubleVariableDelay.getMissingValue()
Returns value to be returned by this object when delay time increases and when no output is available at the time
This method should be overridden in scalar delays with variable delay time which have custom 'missing value'
voidVariableDelay.getMissingValue(HyperArray array)
Tags arrayed value to be returned by this object when delay time increases and when no output is available at the time
This method should be overridden in arrayed delays with variable delay time which have custom 'missing value' to fill the whole array data
ShapeModelElementsGroupPresentable.getModelElementsShape() 
EventTimeout.ModeAgent.getModeOf(EventTimeout e)
Returns mode of a timeout event: Cyclic, Once, User.
Must be implemented in a subclass if there are any timeout events.
StringAgent.getNameOf(Agent ao)
Returns the name of a simple (not replicated) embedded object.
Must be implemented in a subclass if there are any embedded objects.
StringAgent.getNameOf(AgentList<?> aocollection)
Returns the name of a replicated embedded object.
Must be implemented in a subclass if there are any replicated embedded objects.
StringAgent.getNameOf(EventCondition e)
Returns the name of a condition event.
Must be implemented in a subclass if there are any condition events.
StringAgent.getNameOf(EventRate e)
Returns the name of a rate event.
Must be implemented in a subclass if there are any rate events.
StringAgent.getNameOf(EventTimeout e)
Returns the name of a timeout event.
Must be implemented in a subclass if there are any timeout events.
StringAgent.getNameOf(Port<?,?> p)
Returns the name of a port.
Must be implemented in a subclass if there are any ports.
StringAgent.getNameOf(Statechart<?> s)
Returns the name of a statechart.
Must be implemented in a subclass if there are any statecharts.
StringAgent.getNameOf(TransitionCondition t)
Returns the name of a condition transition.
Must be implemented in a subclass if there are any condition transitions.
StringAgent.getNameOf(TransitionMessage t)
Returns the name of a message transition.
Must be implemented in a subclass if there are any message transitions.
StringAgent.getNameOf(TransitionRate t)
Returns the name of a rate transition.
Must be implemented in a subclass if there are any rate transitions.
StringAgent.getNameOf(TransitionTimeout t)
Returns the name of a timeout transition.
Must be implemented in a subclass if there are any timeout transitions.
abstract OptimizationEngineExperimentOptimization.getOptimizationEngineType() 
voidAgent.getPhaseVector_xjal(double[] D, int idxD, double[] A, int idxA)
This method shouldn't be normally called by user.
Assigns given arrays with current variables values
voidAgent.getPhaseVectorForInitialConditions_xjal(double[] A, int idxA)
This method shouldn't be normally called by user.
Assigns given arrays with current variables values (the function is used while solving initial conditions loops)
doubleExtAnimationParams.getPresentationScaleOnOwnerSpace()
Returns the scale of the agent presentation animation on its space or 1.0 if space isn't defined or agent list is empty
ShapeTopLevelPresentationGroupAgent.getPresentationShape() 
ShapeTopLevelPresentationGroupPresentable.getPresentationShape() 
voidAgent.getRightPart_xjal(double[] DR, int idxDR, double[] AR, int idxAR)
This method shouldn't be normally called by user.
Calculates right parts of differential equations and algebraic equations to the given arrays
voidAgent.getRightPartForInitialConditions_xjal(double[] AR, int idxAR)
This method shouldn't be normally called by user.
Returns right part while solving algebraic loops in initial conditions
intAgent.getRuntimeAlgebraicFlatEquationsCount_xjal()
This method shouldn't be normally called by user.
intAgent.getRuntimeFormulaFlatEquationsCount_xjal()
This method shouldn't be normally called by user.
booleanPresentable.getShapeControlDefaultValueBoolean(int id, int index)
Deprecated.
doublePresentable.getShapeControlDefaultValueDouble(int id, int index)
Deprecated.
intPresentable.getShapeControlDefaultValueInt(int id, int index)
Deprecated.
StringPresentable.getShapeControlDefaultValueString(int id, int index)
Deprecated.
Collection<T>IStatechartState.getSimpleStatesDeep()
Returns collection of all simple states inside this state.
Typical implementation:return simpleStates; where the field is initialized in constructor: simpleStates = calculateAllSimpleStatesDeep();
Statechart<T>IStatechartState.getStatechart(A agent)
Returns statechart from the given agent which owns this state.
Returns null if the agent has no statechart with this state
StatechartAgent.getStatechartOf(TransitionCondition t)
Returns the statechart where the condition transition belongs to.
Must be implemented in a subclass if there are any condition transitions.
StatechartAgent.getStatechartOf(TransitionMessage t)
Returns the statechart where the message transition belongs to.
Must be implemented in a subclass if there are any message transitions.
StatechartAgent.getStatechartOf(TransitionRate t)
Returns the statechart where the rate transition belongs to.
Must be implemented in a subclass if there are any rate transitions.
StatechartAgent.getStatechartOf(TransitionTimeout t)
Returns the statechart where the timeout transition belongs to.
Must be implemented in a subclass if there are any timeout transitions.
doubleExperimentParamVariation.getValueForConfidenceComputation(ROOT root)
Returns the value used in confidence computation when experiment uses replications and variable replications number is used
Must be implemented in a subclass in such experiments.
<T> TAgentList.getValueFromTable(String columnLabel, Class<T> returnType) 
intPresentable.getViewAreas(Map<String,ViewArea> output)
Adds all ViewAreas of this presentable to the given map output, if it is not null.
Default implementation does nothing and returns 0.
final NumberEngine.getVMethods() 
voidExperiment.initDefaultRandomNumberGenerator(Engine engine)
This method should be overridden to initialize random number generator of the given engine
Default implementation set new random generation with random seed - for unique experiments
voidExperimentReinforcementLearning.initDefaultRandomNumberGenerator(Engine engine)
This method should be overridden to initialize random number generator of the given engine
Default implementation set new random generation with random seed - for unique experiments
EAgentList.instantiateAgent(int index)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Creates new instance of agent for this population.
Should be overridden by code generation, default implementation is unsupported
voidAgent.instantiateBaseStructure_xjal()
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
booleanAbstractLinkToAgent.isDeliverToAgent_xjal()
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
booleanAgent.isEmbeddedAgentPresentationVisible(Agent embeddedAgent)
This method is internal and shouldn't be called by user.
This method works only for single embedded objects (not population) inside this agent.
Method may be removed/renamed in future. It is public due to technical reasons.
booleanSchedule.isInitialized() 
booleanExperimentOptimization.isLastReplication()
Deprecated.
booleanAgent.isLoggingToDB(EventOriginator e)
Return true if the given event (or dynamic event) is logged to database (note that this may be overridden by logging settings of Agent).
Default implementation returns true.
booleanUtilities.isLoggingToDB(LoggingType loggingType)
Returns true if this agent and its internals may log their data/changes/activity to AnyLogic built-in database (logging options are configurable in the properties of Database / Log in the Projects tree inside AnyLogic)
booleanAgentList.isPresentationEnabled()
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
booleanAgent.isPublicPresentationDefined()
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
static int[]Utilities.joinArrays_xjal(boolean replaceAlways, boolean replaceWithNotEmpty, int[] a1, int[] a2)
This method is internal and isn't intended to be called by user (may be removed in future releases)
voidExperimentMultipleRuns.onAfterExperiment()
User's extension point for after experiment code.
Executed when all planned iterations are completed.
voidExperimentMultipleRuns.onAfterIteration()
User's extension point for after iteration code
By default does nothing
default voidExperimentExecutionListener.onAfterSimulationRun(Agent root)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
voidAgent.onAfterStepEnvironment()
A callback that is called when at the end of every step after the agents have performed all their step actions.
voidAgent.onArrival()
A callback that is called when the agent arrives to the target location after movement initiated by moveTo() in continuous 2D space.
voidAgent.onBeforeCreate()
Is called at the very start of create() method, i.e.
voidExperiment.onBeforeSimulationRun(ROOT root)
Deprecated.
this method will be removed in future, please use Experiment.addExecutionListener(ExperimentExecutionListener) instead of overriding this method
default voidExperimentExecutionListener.onBeforeSimulationRun(Agent root)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future.
voidAgent.onBeforeStep()
A callback that is called at the beginning of every step in discrete time before onStep() of any agent is called.
voidAgent.onBeforeStepEnvironment()
A callback that is called at the beginning of every step before the agents are asked to perform any their step actions.
voidAgent.onCreate()
Is called at the very end of create() method, i.e.
voidAbstractLinkToAgent.onDestroy()
Discards the link and disconnects it if it is bidirectional.
voidAgent.onDestroy()
Must be called when the agent is dynamically disposed.
voidEventCondition.onDestroy() 
voidEventOriginator.onDestroy()
Discards the scheduled event, if any (deletes it from the engine).
voidExperiment.onDestroy()
User extension point which is called when the experiment object is dynamically disposed - before closing the model window.
This method may be overridden to perform custom actions.
Default implementation does nothing.
voidLinkToAgentCollectionImpl.onDestroy() 
voidLinkToAgentImpl.onDestroy() 
voidLinkToAgentStandardImpl.onDestroy() 
voidPort.onDestroy()
Should be called when the port is destroyed, e.g.
voidStatechart.onDestroy()
Should be called when the statechart is destroyed, e.g.
voidTransitionCondition.onDestroy() 
voidExperiment.onDestroy_xjal()
This method normally shouldn't be called by user.
Is called when the experiment object is dynamically disposed - before closing the model window.
This method should be overridden to release resources (e.g.
voidAgent.onEngineFinished()
Is called by the engine when it finishes running and is intended to wrap up a single simulation run (e.g.
voidExperiment.onEngineFinished()
Deprecated.
this method will be removed in future, please use Experiment.addExecutionListener(ExperimentExecutionListener) instead of overriding this method
voidAgent.onEnterFlowchartBlock(Agent oldBlock, Agent block)
A callback that is called when the agent enters flowchart block (being an 'entity')
voidAgent.onExitFlowchartBlock(Agent block)
A callback that is called when the agent exits flowchart block (being an 'entity')
voidAgent.onOwnerChanged_xjal()
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
voidAbstractLinkToAgent.onReceive(Object msg, Agent sender)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Override for custom on receive action
voidAgent.onReceive(Object msg, Agent sender)
A callback that is called when the agent receives a message from another agent.
voidLinkToAgentCollectionImpl.onReceive(Object msg, Agent sender)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Override for custom on receive action
voidLinkToAgentImpl.onReceive(Object msg, Agent sender)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
Override for custom on receive action
voidLinkToAgentStandardImpl.onReceive(Object msg, Agent sender) 
voidAgent.onReleaseResource(Agent unit)
A callback that is called when the agent releases resource
voidAgent.onSeizeResource(Agent unit)
A callback that is called when the agent seizes resource
voidPresentable.onSelectionChanged_xjal(int id, int index, int[] selectedIndices, boolean programmatically)
Deprecated.
booleanPresentable.onShapeClick(int id, int index, double clickx, double clicky)
Deprecated.
voidPresentable.onShapeGroupDraw(int id, int index)
Deprecated.
voidAgent.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.
voidAgent.onStep()
A callback that is called at every step in discrete time after onStep() of any agent is called.
static int[]Dimension.parseRangeIndexes(String str)
Deprecated.
static voidUtilities.prepareBeforeExperimentStart_xjal(Class<?> experimentClass)
This method is internal and isn't intended to be called by user (may be removed in future releases)
voidAgent.putPhaseVector_xjal(double[] D, int idxD, double[] A, int idxA)
This method shouldn't be normally called by user.
Assigns variables values from the given arrays
voidAgent.putPhaseVectorForInitialConditions_xjal(double[] A, int idxA)
This method shouldn't be normally called by user.
Assigns variables values from the given arrays (the function is is used while solving initial conditions loops)
voidPresentable.readCustomData(ObjectInputStream in)
This method may be overridden to perform custom data reading when loading model snapshot
voidEngine.registerAgentWithEquations(Agent ao)
Registers given agent with equations in Engine equations solver.
voidEngine.registerDelay(VariableDelay variableDelay)
Registers given delay in Engine equations solver.
voidAgent.removeFromFlowchart()
This method is internal and shouldn't be called by user.
it may be removed/renamed in future. It is public due to technical reasons.
voidAgent.removeUsdObjects() 
voidExperiment.reset()
Is called each time before a new model is created and is intended to reset all data associated with the experiment.
voidAgent.restoreOwner(Object owner)
Deprecated.
final voidAgentList.restoreOwner(Object owner)
Deprecated.
voidEvent.restoreOwner(Object owner)
Deprecated.
voidPort.restoreOwner(Object owner)
Deprecated.
voidSchedule.restoreOwner(Object owner)
Deprecated.
voidStatechart.restoreOwner(Object owner)
Deprecated.
voidTransition.restoreOwner(Object owner)
Deprecated.
voidStatechart.setActiveState_xjal(T st)
This method is shouldn't be called by user (is public due to technical reasons)
voidAgent.setAgentSpaceType(SpaceType spaceType)
Sets this agent to live in the space of the given type.
Will throw an error if agent already has different space type
voidExperimentOptimization.setAutoStop(boolean stop)
Sets the auto stop option.
If the input parameter is true, auto stop is turned on.
voidExperiment.setCommandLineArguments_xjal(String[] commandLineArguments)
This method should not be called by user
voidExperimentCustom.setCommandLineArguments_xjal(String[] commandLineArguments)
This method should not be called by user
voidExperimentOptimization.setConstraint(IPreConstraint constraint, double bound, ConstraintTypeEnum type, String expression) 
voidExperimentOptimization.setCurrentObjectiveValue(double value)
Used to set the value of the objective for the current solution.
voidExperimentOptimization.setCurrentPreConstraintValue_xjal(IPreConstraint constraint, double value) 
voidExperimentOptimization.setCurrentRequirementValue_xjal(IPostConstraint requirement, double value)
Used to set the value of the requirement for the current solution.
voidAgent.setDestroyed()
Marks this object as subject to destruction after the current step is finished.
voidAgentList.setEnvironment(Agent environment) 
voidExperimentOptimization.setFixedReplicationsNumber(int replicationsNumber) 
voidAgent.setLocationRandomInside(INode node)
This method is used for initialization only, for dynamic assignment, please use Agent.jumpTo(INode).
Sets the coordinates of the agent location to the randomly chosen point inside the given node and puts it into network node (if network is defined).
Should only be used to initialize the agent location.
voidExperimentOptimization.setLogBufferLength(int length) 
voidExperimentOptimization.setMaximumIterations(int numberOfIterations)
Sets the number of iterations the optimization should perform before stopping.
voidExperiment.setName(String name)
Sets the name (window title) of the experiment.
voidExperimentOptimization.setObjectiveMaximize()
Sets the goal of the optimization to maximize the objective value

This is optimization setup method, user should not call it
voidExperimentOptimization.setObjectiveMinimize()
Sets the goal of the optimization to minimize the objective value

This is optimization setup method, user should not call it
voidExperimentOptimization.setParameterSuggestedValue(IVariable parameter, Object value)
Allows the user to suggest a solution by setting a suggested value for each variable
ExperimentOptimization.addSuggestedSolution() indicates the suggested solution is complete and should be added to the set of solutions to be evaluated.

This is optimization setup method, user should not call it
voidExperimentOptimization.setParameterVariable(IBinaryVariable parameter, String name) 
voidExperimentOptimization.setParameterVariable(IContinuousVariable parameter, String name, String min, String max) 
voidExperimentOptimization.setParameterVariable(IDiscreteVariable parameter, String name, DiscreteParameterDataType dataType, String min, String max, String step) 
voidExperimentOptimization.setRequirement(IPostConstraint requirement, double bound, ConstraintTypeEnum type) 
voidEngine.setTimeUnit(TimeUnits tu)
Sets the correspondence between the model time unit and a real time unit.
voidExperiment.setup(IExperimentHost experimentHost)
Is called in static main() method of applications, after the experiment is constructed.
voidIRunConfiguration.setup(IExperimentHost experimentHost)
Is called after the experiment is constructed.
voidExperiment.setupEngine(Engine engine)
Is called for the simulation engine when it is created
voidExperimentCustom.setupEngine_xjal(Engine engine)
This method should not be called by user
voidAgent.setupExt_xjal(AgentExtension ext)
This method is internal and shouldn't be called by user.
it may be removed/renamed in future
voidAgent.setupInitialConditions_xjal(Class<?> callerClass)
This method shouldn't be normally called by user.
voidExperimentSimulation.setupOmniverseParameters(ROOT root) 
voidExperimentParamVariation.setupRangeVariedParameter(ROOT root, int paramIndex, int valueIndex, boolean callOnChangeActions)
This method should be overridden in experiments which work with parameters varied in range
abstract voidExperimentCompareRuns.setupRootParameters(ROOT root, boolean callOnChangeActions)
Is called to setup parameters of top-level agent.
abstract voidExperimentOptimization.setupRootParameters(ROOT root, boolean callOnChangeActions)
Is called to setup parameters of top-level agent.
voidExperimentParamVariation.setupRootParameters(ROOT root, int index, boolean callOnChangeActions)
Setups all parameters of top-level agent
Default implementation works only with range varied parameters
Override in subclass if experiment uses freeform parameters or uses range varied parameters and has fixed parameters, in this case overridden method should call super.setupRootParameters(root, index); and then setup values for fixed parameters
abstract voidExperimentSimulation.setupRootParameters(ROOT root, boolean callOnChangeActions)
Is called to setup parameters of top-level agent.
voidExperimentOptimization.setUserControlledStop(boolean stop)
Indicates the user will stop the optimization by calling the ExperimentOptimization.stopOptimization() method

This is optimization setup method, user should not call it
voidExperimentOptimization.setUseReplications(boolean useReplications)
Sets optimization to use replications

This is optimization setup method, user should not call it
voidExperimentOptimization.setVariableReplicationsNumber(int minimumReplications, int maximumReplications, ExperimentMultipleRuns.ConfidenceLevel confidenceLevel, double errorPercent) 
final voidEngine.setVMethods(Number n) 
final voidAgent.start()
Starts activities (e.g.
abstract voidEvent.start()
Should be called when the agents starts.
voidEventCondition.start()
Should be called when the agents starts.
voidEventRate.start()
Should be called when the agents starts.
voidEventTimeout.start()
Should be called when the agents starts.
voidStatechart.start()
Should be called when the agent starts.
voidTransitionCondition.start()
Should be called when the statechart enters to the transition's source state.
voidTransitionMessage.start()
Should be called when the statechart enters to the transition's source state.
voidTransitionRate.start()
Should be called when the statechart enters to the transition's source state.
voidTransitionTimeout.start()
Should be called when the statechart enters to the transition's source state.
final voidAgent.startAsEmbedded()
Internal method to be called for embedded agents inside Agent.doStart() of an upper-level agent.
<T extends Enum<T> & IStatechartState<?, T>>
boolean
Agent.stateContainsState(T compstate, T simpstate)
Deprecated.
voidExperimentOptimization.stopOptimization()
Stops the currently running optimization

This is optimization setup method, user should not call it
final voidVariableDelay.storeSample()
Stores sample if needed
booleanAgent.testConditionOf(EventCondition e)
Tests the condition expression of a condition event.
Must be implemented in a subclass if there are any condition events.
booleanAgent.testConditionOf(TransitionCondition t)
Tests the condition expression of a transition event.
Must be implemented in a subclass if there are any condition transitions.
booleanAgent.testGuardOf(TransitionCondition t)
Tests the guard expression of a condition transition.
Implementation in a subclass can be skipped if the guard(s) are empty.
booleanAgent.testGuardOf(TransitionMessage t)
Tests the guard expression of a message transition.
Implementation in a subclass can be skipped if the guard(s) are empty.
booleanAgent.testGuardOf(TransitionRate t)
Tests the guard expression of a rate transition.
Implementation in a subclass can be skipped if the guard(s) are empty.
booleanAgent.testGuardOf(TransitionTimeout t)
Tests the guard expression of a timeout transition.
Implementation in a subclass can be skipped if the guard(s) are empty.
booleanAgent.testMessageOf(TransitionMessage t, Object msg)
Tests the message received by the statechart against the trigger description of a message transition - for Object message type.
Must be implemented in a subclass if there are any message transitions.
doubleUtilities.toModelRate(double value, RateUnits units)
Converts the given rate (in rate units) to units based on model time units (used e.g.
doubleUtilities.toRateUnits(double modelRateValue, RateUnits units)
Converts the rate (in units based on model time units) to the given units
booleanEngine.unregisterAgentWithEquations(Agent ao)
Unregisters the agent from the engine equations solver.
voidEngine.unregisterDelay(VariableDelay variableDelay)
Unregisters the delay from the engine equations solver.
final voidPresentable.updateShapeDynamicProperties(boolean publicOnly)
Updates dynamic properties of persistent presentation elements of the of the presentable object (shapes, controls, charts, and presentations of the embedded objects).
voidPresentable.writeCustomData(ObjectOutputStream out)
This method may be overridden to perform custom data writing when saving model snapshot
ModifierConstructorDescription
 SDIntegrationManager(int mathDiffEqCount, int mathAlgEqCount, int mathFormEqCount)
Constructor
  • Uses of AnyLogicInternalCodegenAPI in com.anylogic.engine.analysis

    Modifier and TypeClassDescription
    class DataUpdater_xjal
    This class provides another way to override update() method of data set, histogram and other data elements.
    Modifier and TypeMethodDescription
    voidBasicDataSet.destroyUpdater_xjal()
    This method is used to 'disconnect' this data class from the agent/experiment this object was defined in.
    It is usually called on agent destroy so that experiment could use this data object e.g.
    voidHistogram2DData.destroyUpdater_xjal()
    This method is used to 'disconnect' this data class from the agent/experiment this object was defined in.
    It is usually called on agent destroy so that experiment could use this data object e.g.
    voidHistogramData.destroyUpdater_xjal()
    This method is used to 'disconnect' this data class from the agent/experiment this object was defined in.
    It is usually called on agent destroy so that experiment could use this data object e.g.
    voidStatisticsContinuous.destroyUpdater_xjal()
    This method is used to 'disconnect' this data class from the agent/experiment this object was defined in.
    It is usually called on agent destroy so that experiment could use this data object e.g.
    voidStatisticsDiscrete.destroyUpdater_xjal()
    This method is used to 'disconnect' this data class from the agent/experiment this object was defined in.
    It is usually called on agent destroy so that experiment could use this data object e.g.
    voidChart.onSelectionChanged_xjal(int[] selectedIndices, boolean programmatically)
    Executes specific action when user clicks on legend and selects/deselects chart item(s).
    This method does nothing by default and may be overridden for charts they have any on-selection-changed activity.
    voidTimeColorChart.restoreOwner(Object owner)
    Deprecated.
    voidTimePlot.restoreOwner(Object owner)
    Deprecated.
    voidTimeStackChart.restoreOwner(Object owner)
    Deprecated.
  • Uses of AnyLogicInternalCodegenAPI in com.anylogic.engine.connectivity

    Modifier and TypeMethodDescription
    ObjectQuery.createNewRowElementInstance_xjal()
    Deprecated.
    Extension-point for element creation
    In the Mapping mode, this method should be overridden to create specific element and return it
    abstract voidInsert.evaluateValues_xjal(Object[] values)
    Deprecated.
    This method should fill values array
    abstract voidUpdate.evaluateValues_xjal(Object[] keyValues, Object[][] updateValues)
    Deprecated.
    This method should be overridden to fill keyValues and updateValues arrays
    voidQuery.registerNewRowElement_xjal(Object element, boolean startAgents)
    Deprecated.
    Extension-point for element creation
    In the Mapping mode, this method should be overridden to start given element (previously created by Query.createNewRowElementInstance_xjal() and parametrized) add it to the underlying collection and return it
    voidDatabase.restoreOwner(Object owner)
    Deprecated.
    voidTextFile.restoreOwner(Object owner)
    Deprecated.
  • Uses of AnyLogicInternalCodegenAPI in com.anylogic.engine.database

    Modifier and TypeInterfaceDescription
    interface DBInfo
    This class is internal and shouldn't be called by user.
    it may be removed/renamed in future.
    interface TableDataExporter
    This class is internal and shouldn't be called by user.
    it may be removed/renamed in future.
    interface TableDataImporter
    This class is internal and shouldn't be called by user.
    it may be removed/renamed in future.
    Modifier and TypeMethodDescription
    DatabaseCustomType[]DBInfo.getCustomTypes()
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.
  • Uses of AnyLogicInternalCodegenAPI in com.anylogic.engine.markup

    Modifier and TypeMethodDescription
    doubleConveyorTurnStation.angle(T agent, AngleUnits units) 
    ColorDensityMap.customColor(double density)
    This method should be overridden to return color in CUSTOM color scheme
    QServiceUnit.customSelectQueue()
    This method should be overridden to return queue in CUSTOM queue choice policy
    QueuePathServiceWLine.customSelectQueue(S serviceUnit)
    This method should be overridden to return queue in CUSTOM queue choice policy
    abstract doubleConveyorTransitionalNode.getSpeed(SpeedUnits units) 
    ConveyorPath<T>ConveyorTransitionalNode.getTransition(ConveyorPath<?> path) 
    List<? extends ConveyorPath<T>>ConveyorTransitionalNode.getTransitions() 
    abstract booleanConveyorTransitionalNode.isTakeSpeedOfConnectedConveyors() 
    voidStopLine.onCarPassed(T car, int laneIndex)
    Callback for "On car passed" action, executed for each car passing through this stop line
    voidPositionOnConveyor.onCellEnter()
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.

    Callback action.
    voidPositionOnConveyor.onCellExit()
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.

    Callback action.
    booleanElevatorShaft.onClick(double clickx, double clicky) 
    booleanMarkupShape.onClick(double clickx, double clicky)
    Should be overridden to define the shape reaction on mouse click.
    booleanRailwaySwitch.onClick(double clickx, double clicky) 
    voidDensityMap.onDestroy() 
    voidPedFlowStatistics.onDestroy() 
    voidServiceBase.onDestroy() 
    voidTrafficLight.onPhaseChanged(int currentPhaseIndex) 
    voidConveyorSimpleStation.onProcessFinished(T agent, List<T> allAgents)
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.

    Callback action.
    voidConveyorSimpleStation.onProcessStarted(T agent, List<T> allAgents)
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.

    Callback action.
    voidPositionOnTrack.onTrainEnter(T train) 
    voidPositionOnTrack.onTrainExit(T train) 
    AgentOrientationConveyorTurnStation.orientation(T agent) 
    doubleConveyorSimpleStation.processTime(T agent, List<T> allAgents, TimeUnits units)
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.

    Returns delay for the given agent(s)
    intServiceUnit.queuePriority(Q queue)
    This method should be overridden to return queue in PRIORITY queue choice policy
    intServiceWLine.queuePriority(QueuePath queue)
    This method should be overridden to return queue in PRIORITY queue choice policy
    voidConveyorPortImpl.setPairedPort(MarkupPort pairedPort) 
    voidNetworkPortImpl.setPairedPort(MarkupPort pairedPort) 
    voidAbstractMarkup.updateDynamicProperties()
    Updates dynamic properties of this shape only (without structural contents, if any) in a given context.
    Method should be overridden for shapes with dynamic properties.
    voidBulkConveyorBelt.updateDynamicProperties() 
    voidConveyorPath.updateDynamicProperties() 
    voidEscalatorGroup.updateDynamicProperties() 
    voidIntersection.updateDynamicProperties() 
    voidJibCrane.updateDynamicProperties() 
    voidOverheadCrane.updateDynamicProperties() 
    voidPipe.updateDynamicProperties() 
    voidStopLine.updateDynamicProperties() 
    voidStorageTank.updateDynamicProperties() 
    ModifierConstructorDescription
     AreaNode(Agent owner, ShapeDrawMode drawMode, boolean isPublic, IAreaNodeDescriptor<T> areaNodeDescriptor, double x, double y, double z, Slope slope, Paint fillColor, Paint lineColor, double lineWidth, LineStyle lineStyle, PositionChoiceMode positionChoiceMode, PathEnd<Path>[] pathEnds, Attractor... attractors) 
     ConveyorPath(Agent owner, ShapeDrawMode drawMode, boolean isPublic, boolean isObstacle, double widthInMeters, Paint color, boolean drawStands, double standsLevel, com.anylogic.engine.markup.material_handling.IConveyorPathDescriptor<T> descriptor, ConveyorNode<?> source, ConveyorNode<?> target, MarkupSegment... segments)
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.
     ConveyorTransferTable(Agent owner, ShapeDrawMode drawMode, boolean isPublic, boolean isObstacle, double x, double y, double z, Paint fillColor, Paint lineColor, com.anylogic.engine.markup.material_handling.IConveyorTransferTableDescriptor<T> descriptor, PathEnd<ConveyorPath<?>>... pathEnds)
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.
     ConveyorTurnStation(Agent owner, ShapeDrawMode drawMode, boolean isPublic, boolean isObstacle, double x, double y, double z, Paint fillColor, Paint lineColor, com.anylogic.engine.markup.material_handling.IConveyorTurnStationDescriptor<T> descriptor, PathEnd<ConveyorPath<?>>... pathEnds)
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.
     ConveyorTurntable(Agent owner, ShapeDrawMode drawMode, boolean isPublic, boolean isObstacle, double x, double y, double z, Paint fillColor, Paint lineColor, com.anylogic.engine.markup.material_handling.IConveyorTurntableDescriptor<T> descriptor, PathEnd<ConveyorPath<?>>... pathEnds)
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.
     Elevator(Agent owner, ShapeDrawMode drawMode, boolean isPublic, double x, double y, double widthInMeters, double depthInMeters, double cabinHeightInMeters, double lineWidth, double rotation, Paint lineColor, Paint fillColor, boolean drawShaft, ElevatorDoorsConfiguration doorsConfiguration, IElevatorDescriptor<A> descriptor)
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.
     GISRoute(ShapeGISMap owner, boolean isPermanent, Paint lineColor, double lineWidth, LineStyle lineStyle, boolean bidirectional, GISNode source, GISNode target, GISMarkupSegmentDescriptor... segmentDescriptors)
    Creates GIS route based on the array of segments with specific drawing attributes.
     JibCrane(Agent owner, ShapeDrawMode drawMode, boolean isPublic, boolean isObstacle, com.anylogic.engine.markup.material_handling.IJibCraneDescriptor<T> descriptor, double x, double y, double z, double jibLengthMeters, double craneHeightMeters, double jibAngleRadians, double trolleyLocationMeters, boolean blockedZoneEnabled, double blockedZoneStartAngleRadians, double blockedZoneAngleRadians, Color color, Color cabinColor, JibCraneDrawingType type)
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.
     LevelGate(Agent owner, ShapeDrawMode drawMode, boolean isPublic, double x, double y, double dx, double dy) 
     Lift(Agent owner, ShapeDrawMode drawMode, boolean isPublic, boolean isObstacle, double x, double y, double z, double widthInMeters, double depthInMeters, double rotation, Paint fillColor, Paint lineColor, LiftPlatformDrawingType platformType, com.anylogic.engine.markup.material_handling.ILiftDescriptor<A> descriptor)
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.
     OverheadCrane(Agent owner, ShapeDrawMode drawMode, boolean isPublic, boolean isObstacle, com.anylogic.engine.markup.material_handling.IOverheadCraneDescriptor<T> descriptor, double x, double y, double z, double rotation, double runwayLengthMeters, double craneWidthMeters, double craneHeightMeters, double bridgeWidthMeters, double safetyGap, Color color, Color trolleyColor, OverheadCraneDrawingType type, OverheadCraneGirderDrawingType girderType, OverheadCraneBridge... bridges)
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.
     OverheadCraneBridge(double bridgeLocation, double trolleyLocation, Color bridgeColor) 
     PalletRack(Agent owner, ShapeDrawMode drawMode, boolean isPublic, boolean isObstacle, double x, double y, double z, double length, double depth, double depthR, double levelHeight, double rotation, PalletRackType type, PalletRackDirection direction, double aisleDepth, double aisleRDepth, double cellWidth, int nPositions, int nLevels, int nDeep, Paint fillColor, Color lineColor, int cellsBetweenLegs)
    /** This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.
     PointNode(Agent owner, ShapeDrawMode drawMode, boolean isPublic, double x, double y, double z, double radius, Paint fillColor, boolean limitSpeed, double maxSpeedInMPS, PathEnd<Path>[] pathends)
    This method is internal and shouldn't be called by user.
    it may be removed/renamed in future. It is public due to technical reasons.
     PolygonalNode(Agent owner, ShapeDrawMode drawMode, boolean isPublic, IAreaNodeDescriptor<T> descriptor, double x, double y, double z, double[] dx, double[] dy, Slope slope, Paint fillColor, Paint lineColor, double lineWidth, LineStyle lineStyle, PositionChoiceMode positionChoiceMode, PathEnd<Path>[] pathEnds, Attractor... attractors) 
     PolygonalNode(Agent owner, ShapeDrawMode drawMode, boolean isPublic, IAreaNodeDescriptor<T> descriptor, double x, double y, double z, double[] dx, double[] dy, Paint fillColor, Paint lineColor, double lineWidth, LineStyle lineStyle, PositionChoiceMode positionChoiceMode, PathEnd<Path>[] pathEnds, Attractor... attractors) 
     PositionOnTrack(Agent owner, IRailStopLineDescriptor<T> d, ShapeDrawMode drawMode, boolean isPublic, Paint color, RailwayTrack track, double offset) 
     QueueArea(Agent owner, ShapeDrawMode drawMode, boolean isPublic, IAreaNodeDescriptor<T> descriptor, double x, double y, double z, double[] dx, double[] dy, Slope slope, Paint fillColor, Paint lineColor, double lineWidth, LineStyle lineStyle, PositionChoiceMode positionChoiceMode, PathEnd<Path>[] pathEnds, Attractor... attractors) 
     QueueArea(Agent owner, ShapeDrawMode drawMode, boolean isPublic, IAreaNodeDescriptor<T> descriptor, double x, double y, double z, double[] dx, double[] dy, Paint fillColor, Paint lineColor, double lineWidth, LineStyle lineStyle, PositionChoiceMode positionChoiceMode, PathEnd<Path>[] pathEnds, Attractor... attractors) 
     RailwaySwitch(Agent owner, ShapeDrawMode drawMode, boolean isPublic, double radius, Color selectionColor, Paint color, RailwaySwitch.IRailwaySwitchType type, RailwayTrack... tracks) 
     RectangularNode(Agent owner, ShapeDrawMode drawMode, boolean isPublic, IAreaNodeDescriptor<T> descriptor, double x, double y, double z, double width, double height, double rotation, Slope slope, Paint fillColor, Paint lineColor, double lineWidth, LineStyle lineStyle, PositionChoiceMode positionChoiceMode, PathEnd<Path>[] pathEnds, Attractor... attractors) 
     RectangularNode(Agent owner, ShapeDrawMode drawMode, boolean isPublic, IAreaNodeDescriptor<T> descriptor, double x, double y, double z, double width, double height, double rotation, Paint fillColor, Paint lineColor, double lineWidth, LineStyle lineStyle, PositionChoiceMode positionChoiceMode, PathEnd<Path>[] pathEnds, Attractor... attractors) 
     StopLine(Road road, IStopLineDescriptor<T> d, ShapeDrawMode drawMode, boolean isPublic, boolean isOnForwardSide, double offset, int laneIndexFrom, int laneIndexTo, RoadSignType... roadSigns) 
     Storage(Agent owner, ShapeDrawMode drawMode, boolean isPublic, boolean isObstacle, IStorageDescriptor d, double x, double y, double z, RackType rackType, boolean flipped, RackPlacement rackPlacement, int numberOfStorageUnits, int numberOfBays, int numberOfCellsPerSlot, double rightPassageMeter, double leftPassageMeter, double heightMeter, double widthMeter, double aisleWidthMeter, double slotDepthMeter, double cellWidthMeter, double rotation, double tiltAngle, boolean placeSingleRacksAtSides, RackOddSingleRackSide placeOddSingleRack, Color shelvesColor, Color frameColor, boolean drawLegs, int baysBetweenLegs, boolean simplifiedAgentAnimation, int numberOfShelves, double shelfHeightMeter) 
     Wall(Agent owner, ShapeDrawMode drawMode, boolean isPublic, WallFillingType fillingType, Paint color, double lineWidth, double zHeight, boolean isClosed, MarkupSegment... segments) 
  • Uses of AnyLogicInternalCodegenAPI in com.anylogic.engine.omniverse_connector

    Modifier and TypeClassDescription
    class AbstractInstancingUsdRepresentation<A> 
    interface InstancingUsdRepresentation<T> 
  • Uses of AnyLogicInternalCodegenAPI in com.anylogic.engine.optimization

    Modifier and TypeClassDescription
    enum DiscreteParameterDataType 
  • Uses of AnyLogicInternalCodegenAPI in com.anylogic.engine.presentation

    Modifier and TypeInterfaceDescription
    interface LinkToAgentAnimator 
    Modifier and TypeMethodDescription
    voidShapeControl.action()
    Executes the action associated with the control.
    abstract TReplicatedShape.createShapeWithStaticProperties_xjal(int index)
    Creates a new shape with static properties already set.
    ShapeEmbeddedObjectPresentationShapeAgentPopulationGroup.createShapeWithStaticProperties_xjal(Agent agent, int index)
    Creates a new shape with static properties already set.
    voidShape3DObject.dispose()
    Releases resources allocated by this object, should be called on agent destroy.
    voidLinkToAgentAnimator.drawLink(Agent owner, LinkToAgent<? extends Agent,? extends Agent> link, boolean bidirectional, boolean symmetrical) 
    voidLinkToAgentAnimator.drawLink(Agent owner, LinkToAgentCollection<? extends Agent,? extends Agent> link, boolean bidirectional, boolean symmetrical) 
    voidShapeGroup.initialize_xjal(boolean replaceAlways, boolean replaceWithNotEmpty, Object... contents)
    This method is internal and shouldn't be called by user.
    (may be removed in the next versions)
    voidShapeModelElementsGroup.initialize_xjal(ModelElementDescriptorUtils[] elementDescriptors, boolean replaceAlways, boolean replaceWithNotEmpty, Object... contents)
    This method is internal and shouldn't be called by user.
    (may be removed in the next versions)
    booleanShape.isVisibleCurrently()
    Takes into account visibility of the Level
    booleanShapeInspect.isVisibleCurrently() 
    booleanShape.onClick(double clickx, double clicky)
    Should be overridden to define the shape reaction on mouse click.
    booleanShapeGISMap.onClick(double latitude, double longitude)
    Should be overridden to define the shape reaction on mouse click.
    voidReplicatedShape.restoreOwner(Object owner)
    Deprecated.
    voidShape.restoreOwner(Object owner)
    Deprecated.
    voidShape3DObject.restoreOwner(Object owner)
    Deprecated.
    voidShapeCAD.restoreOwner(Object owner)
    Deprecated.
    voidShapeControl.restoreOwner(Object owner)
    Deprecated.
    voidShapeEmbeddedObjectIcon.restoreOwner(Object owner)
    Deprecated.
    voidShapeEmbeddedObjectPresentation.restoreOwner(Object owner)
    Deprecated.
    voidShapeGISMap.restoreOwner(Object owner)
    Deprecated.
    voidShapeGroup.restoreOwner(Object owner)
    Deprecated.
    voidShapeImage.restoreOwner(Object owner)
    Deprecated.
    voidShapeScale.restoreOwner(Object owner)
    Deprecated.
    voidViewArea.restoreOwner(Object owner)
    Deprecated.
    voidShapeEmbeddedObjectPresentation.setEmbeddedObject_xjal(Agent embeddedObject) 
    voidShapeModelElementsGroup.setIconOffsets(double x, double y) 
    voidReplicatedShape.setShapeDynamicProperties_xjal(T shape, int index)
    Sets the dynamic properties of a shape with the given index.
    voidShapeAgentPopulationGroup.setShapeDynamicProperties_xjal(ShapeEmbeddedObjectPresentation shape, int index)
    Sets the dynamic properties of a shape with the given index.
    voidShape.updateDynamicProperties()
    Updates dynamic properties of this shape only (without structural contents, if any) in a given context.
    Method should be overridden for shapes with dynamic properties.