Class: Roby::Relations::TaskRelationGraph

Inherits:
Graph show all
Extended by:
Models::TaskRelationGraph
Defined in:
lib/roby/relations/task_relation_graph.rb

Overview

Subclass of Relations::Space for tasks.

It adds attributes that are specific to tasks

Direct Known Subclasses

TaskStructure::Dependency

Instance Attribute Summary

Attributes inherited from Graph

#observer, #parent, #subsets

Attributes inherited from BidirectionalDirectedAdjacencyGraph

#backward_edges, #forward_edges_with_info

Instance Method Summary collapse

Methods included from Models::TaskRelationGraph

setup_submodel

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?, #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

#droby_id, #initialize_copy

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_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

#droby_dump

Constructor Details

#initialize(scheduling: self.class.scheduling?, **options) ⇒ TaskRelationGraph

Returns a new instance of TaskRelationGraph.



15
16
17
18
# File 'lib/roby/relations/task_relation_graph.rb', line 15

def initialize(scheduling: self.class.scheduling?, **options)
    super(**options)
    @scheduling = scheduling
end