AnyLogic
Expand
Font size

@AnyLogicInternalAPI
public interface IRunConfiguration<T extends Agent>

Method Summary

Modifier and TypeMethodDescription
TcreateRootAgent(Engine engine) 
voidgetOutputValues(T root, IRunOutputsConsumer outputsConsumer) 
voidsetup(IExperimentHost experimentHost)
Is called after the experiment is constructed.
voidsetupEngine(Engine engine) 
voidsetupRootParameters(T agent, boolean callOnChangeActions, IRunValueAccessor parameterSource)
Sets agent parameters

Method Details

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)