44 #ifndef DESIGN_FLOW_GRAPH_HPP 45 #define DESIGN_FLOW_GRAPH_HPP 130 vertex GetDesignFlowStep(
const std::string& signature)
const;
139 if(ExistsEdge(source, target))
141 return AddSelector(source, target, selector);
207 vertex GetDesignFlowStep(
const std::string& signature)
const;
251 void WriteDot(
const std::string& file_name,
const int detail_level = 0)
const;
261 void WriteDot(
const std::string& file_name,
293 const int detail_level = 0);
305 void operator()(std::ostream& out,
const vertex& v)
const override;
333 const int detail_level = 0);
340 void operator()(std::ostream& out,
const EdgeDescriptor& edge)
const override;
Graph with all the edges.
Base class storing user data information to the whole graph.
DesignFlowGraphInfoRef GetDesignFlowGraphInfo()
Return the info associated with the graph.
Class specification of the graph structures.
The base class for design step.
static const int DEPENDENCE_SELECTOR
The dependence selector.
CustomOrderedMap< T, U > CustomMap
DesignFlowStep_Status status
Status of a step.
static const int DEPENDENCE_FEEDBACK_SELECTOR
The dependence feedback selector.
NodeInfoRef GetNodeInfo(typename boost::graph_traits< graphs_collection >::vertex_descriptor node)
FIXME: this method should become protected and called by equivalent method in subclasses Get the node...
redefinition of map to manage ordered/unordered structures
DesignFlowStepInfo(const DesignFlowStepRef _design_flow_step, const bool unnecessary)
Constructor.
vertex entry
The entry vertex of the graph.
const CustomMap< vertex, DesignFlowStep_Status > & vertex_history
Actors which have to be printed (empty means all)
const CustomMap< vertex, std::string > & actor_names
The name of the actors (when they cannot be taken from graph.
CONSTREF_FORWARD_DECL(Parameter)
absl::flat_hash_map< T, U, Hash, Eq, Alloc > CustomUnorderedMap
Type
The type of view of design flow graph.
Functor used to write the content of a vertex to dotty file.
const NodeInfoConstRef CGetNodeInfo(typename boost::graph_traits< graphs_collection >::vertex_descriptor node) const
Get the node property.
Base class description of data information associated with each node of a graph.
refcount< EdgeInfo > EdgeInfoRef
RefCount type definition of the edge_info class structure.
REF_FORWARD_DECL(DesignFlowGraphsCollection)
boost::graph_traits< graph >::vertex_descriptor vertex
vertex definition.
const DesignFlowGraphInfoConstRef CGetDesignFlowGraphInfo() const
Return the info associated with the graph.
static const int PRECEDENCE_SELECTOR
The condition selector.
General class used to describe a graph in PandA.
DesignFlowStepInfoRef GetDesignFlowStepInfo(const vertex step)
DesignFlowStep_Status
The status of a step.
vertex exit
The exit vertex of the graph.
Base class storing user data information.
Base class for graph property.
GraphInfoRef GetGraphInfo()
FIXME: this method should become protected and called by equivalent method in subclasses Get the grap...
Template definition of refcount.
Base class description of data information associated with each edge of a graph.
Functor used to write the content of the edges to a dotty file.
Functor used to write the content of the design flow edge to dotty file.
const GraphInfoConstRef CGetGraphInfo() const
FIXME: this method should become protected and called by equivalent method in subclasses Get the grap...
CustomUnorderedMap< std::string, vertex > signature_to_vertex
Map a signature of a step to the corresponding vertex.
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
const DesignFlowStepRef design_flow_step
The step corresponding to a vertex.
EdgeDescriptor AddDesignFlowDependence(const vertex source, const vertex target, const int selector)
Add a design flow dependence.
Functor used to write the content of the design flow step to dotty file.
absl::node_hash_map< T, U, Hash, Eq, Alloc > CustomUnorderedMapStable
const CustomUnorderedMapStable< EdgeDescriptor, int > & edge_history
Edges which have to be printed (empty means all)
static const int AUX_SELECTOR
The auxiliary selector.
const DesignFlowStepInfoConstRef CGetDesignFlowStepInfo(const vertex step) const
Return the info associated with a step.
const CustomMap< vertex, DesignFlowStep_Status > & vertex_history
Actors which have to be printed (empty means all)
boost::graph_traits< graph >::edge_descriptor EdgeDescriptor
edge definition.