AnyLogic
Expand
Font size

@AnyLogicInternalAPI
public interface IRunConfiguration<T extends Agent>

Method Summary

All Methods Instance Methods Abstract Methods 
T createRootAgent​(Engine engine)  
void getOutputValues​(T root, IRunOutputsConsumer outputsConsumer)  
void setup​(IExperimentHost experimentHost)
Is called after the experiment is constructed.
void setupEngine​(Engine engine)  
void setupRootParameters​(T agent, boolean callOnChangeActions, IRunValueAccessor parameterSource)
Sets agent parameters
Modifier and Type Method Description

Method Detail

createRootAgent

@AnyLogicInternalAPI
T createRootAgent​(Engine engine)

setup

@AnyLogicInternalCodegenAPI
void setup​(IExperimentHost experimentHost)
Is called after the experiment is constructed. Is intended to perform initial setup of the simulation engine and the presentation, if any. This is a user's extension points; by default does nothing.
Parameters:
experimentHost - experiment host, see ExperimentHost

setupEngine

@AnyLogicInternalAPI
void setupEngine​(Engine engine)

setupRootParameters

@AnyLogicInternalAPI
void setupRootParameters​(T agent,
                         boolean callOnChangeActions,
                         IRunValueAccessor parameterSource)
Sets agent parameters
Parameters:
agent - agent
callOnChangeActions - reserved for run-from-snapshot feature

getOutputValues

@AnyLogicInternalAPI
void getOutputValues​(T root,
                     IRunOutputsConsumer outputsConsumer)
How can we improve this article?