Class: Roby::Relations::EventRelationGraph
- Inherits:
-
Graph
- Object
- BidirectionalDirectedAdjacencyGraph
- Graph
- Roby::Relations::EventRelationGraph
- Defined in:
- lib/roby/relations/event_relation_graph.rb
Overview
Subclass of Relations::Space for events. Its main usage is to keep track of which tasks are related in a given relation through their events.
I.e. if events ‘a’ and ‘b’ are parts of the tasks ta and tb, and
a -> b
in this relation graph, then
relation.(ta, tb)
will return true
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Graph
Attributes inherited from BidirectionalDirectedAdjacencyGraph
#backward_edges, #forward_edges_with_info
Method Summary
Methods inherited from Graph
#add_edge, #add_relation, #copy_subgraph_to, #copy_to, #each_child_vertex, #each_parent_vertex, #find_edge_difference, #has_edge_in_hierarchy?, #include?, #initialize, #inspect, #leaf_relation?, #link, #linked?, #linked_in_hierarchy?, #merge!, #merge_info, #reachable?, #recursive_subsets, #remove, #remove_relation, #remove_vertex, #remove_vertex!, #replace_vertex, #root_graph, #root_relation?, #set_edge_info, #size, #subset?, #superset_of, #to_s, #try_updating_existing_edge_info, #unlink
Methods included from DRoby::Identifiable
Methods included from DRoby::V5::DRobyConstant::Dump
#droby_dump, #droby_marshallable?
Methods inherited from BidirectionalDirectedAdjacencyGraph
#==, [], #add_edge, #add_vertex, #clear, #dedupe, #difference, #directed?, #each_edge, #each_in_neighbour, #each_out_neighbour, #each_vertex, #edge_info, #eql?, #freeze, #has_edge?, #has_vertex?, #hash, #in_degree, #in_neighbours, #initialize, #initialize_copy, #leaf?, #merge, #move_edges, #num_edges, #num_vertices, #out_degree, #out_neighbours, #propagate_transitive_closure, #remove_edge, #remove_vertex, #replace, #reverse, #reverse!, #root?, #same_structure?, #set_edge_info, #to_a, #verify_consistency, #vertices
Methods included from DRoby::V5::BidirectionalGraphDumper
Constructor Details
This class inherits a constructor from Roby::Relations::Graph