PyANGKernel.GKReplicationNewCmd

class GKReplicationNewCmd

Creates a new replication (in a experiment).

Inheritance diagram of PyANGKernel.GKReplicationNewCmd

Synopsis

Methods

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

__init__()
setAddToResult(value)
Parameters:

value – bool

Add it to a result (to be part of a mean)?

setData(nbReplications, wantResult, externalIds, replicationsIds, nbReplicationsIds)
Parameters:
  • nbReplications – int

  • wantResult – bool

  • externalIds – bool

  • replicationsIds – bool

  • nbReplicationsIds – int

Function to specify the number of replications to be created, whether an average wants to be created or not, whether to user-define the replication IDs to be set as the database IDs and if so the starting ID. If the IDs on databse are not user-defined they will be the same as the replication’s Aimsun internal IDs. * The default behavior of the command is this function is not called will be similar as the one calling it like follows: * replicationCmd.setData( 1, False, False, False, 0 )

setExperiment(anExperiment)
Parameters:

anExperimentGKExperiment

In which experiment?

setResult(aResult)
Parameters:

aResultGKExperimentResult

If the replication wants to be added to an existing average, the average needs to be specified calling this function.