modeci_mdf.execution_engine.EvaluableGraph
- class modeci_mdf.execution_engine.EvaluableGraph(graph: Graph, verbose: bool | None = False)[source]
Bases:
objectEvaluates a
Graphwith the MDF execution engine. This is the top-level interface to the execution engine.- Parameters:
Methods
evaluate([time_increment, array_format, ...])Evaluates a
Graph.evaluate_edge(edge[, time_increment, ...])Evaluates edges in graph
parse_condition(condition)Convert the condition in a specific format
- evaluate(time_increment: int | float = None, array_format: str = 'numpy', initializer: Dict[str, Any] | None = None)[source]
Evaluates a
Graph. This is the top-level interface to the execution engine.- Parameters:
time_increment – Time step for next execution
array_format – A n-dimensional array
initializer – sets the initial value of parameters of the node