Classes | Functions
concert_service_link_graph::static_link_graph_handler Namespace Reference

Classes

class  StaticLinkGraphHandler
 Classes. More...

Functions

def _node_to_resource
def load_linkgraph_from_file
def load_linkgraph_from_yaml

Function Documentation

  Convert linkgraph information for a particular node to a scheduler_msgs.Resource type.

  @param node : a node from the linkgraph
  @type concert_msgs.LinkNode

  @param linkgraph : the entire linkgraph (used to lookup the node's edges)
  @type concert_msgs.LinkGraph

  @return resource
  @rtype scheduler_msgs.Resource

Definition at line 183 of file static_link_graph_handler.py.

    Loading a linkgraph from file and returns its name, and linkgraph

    @param filename - yaml file
    @type str

    @return name - name of linkgraph
    @rtype str
    @return linkgraph
    @rtype concert_msgs.msg.LinkGraph

Definition at line 164 of file static_link_graph_handler.py.

    Loading a linkgraph from yaml and returns its name, and linkgraph

    :param str yaml: the link graph as a string loaded from yaml

    @return name - name of linkgraph
    @rtype str
    @return linkgraph
    @rtype concert_msgs.msg.LinkGraph

Definition at line 132 of file static_link_graph_handler.py.



concert_service_link_graph
Author(s): Daniel Stonier, Jihoon Lee
autogenerated on Thu Jun 6 2019 18:17:48