Graph

License: BSD-3-Clause. Copyright (c) 2023, Marcelo Jacinto and Filip Stec. All rights reserved.

Classes:

Graph

The base class for implementing OmniGraphs

class pegasus.simulator.logic.graphs.graph.Graph

Bases: object

The base class for implementing OmniGraphs

graph_prim_path

Methods:

__init__(graph_type)

Initialize Graph class

initialize(graph_prim_path)

Method that should be implemented and called by the class that inherits the graph object.

Attributes:

graph_prim_path

(str) Path to the graph.

graph_type

(str) A name that describes the type of graph.

__init__(graph_type)

Initialize Graph class

Parameters:

graph_type (str) – A name that describes the type of graph

initialize(graph_prim_path)

Method that should be implemented and called by the class that inherits the graph object.

property graph_prim_path: str

(str) Path to the graph.

property graph_type: str

(str) A name that describes the type of graph.