concepts.pdsketch.predicate.FunctionEvaluationDefinitionMode#

class FunctionEvaluationDefinitionMode[source]#

Bases: JacEnum

The evaluation mode of a function definition. This enum has three values:

  • FUNCTIONAL: the function is a functional function, i.e., it is a pure function.

  • SIMULATION: the function is a simulation-dependent function, i.e., it is a function that can only be evaluated given the current state in simulation.

  • EXECUTION: the function is an execution-dependent function, i.e., it is a function that can only be evaluated given the current state in execution.

Methods

from_bools(simulation, execution)

get_prefix()

Attributes

FUNCTIONAL

SIMULATION

EXECUTION

classmethod from_bools(simulation, execution)[source]#
Parameters:
  • simulation (bool) –

  • execution (bool) –

get_prefix()[source]#
Return type:

str

EXECUTION = 'execution'#
FUNCTIONAL = 'functional'#
SIMULATION = 'simulation'#