Function edge (left, right, weight)

left

Format:

edge (left, right, weight)

Input:

any left -
any right -
number weight -

Output:

list - None

Conditional properties that reference this function:

  • if the following are true:
    • not (left = value)
    • not (right = value)

    then output of the find_neighbors function where the input graph is [ edge (left, right, weight), rest ], node is value, and children are result = output of the find_neighbors function where the input graph is rest, node is value, and children are result

    (link)
  • if left = value, then output of the find_neighbors function where the input graph is [ edge (left, right, weight), rest ], node is value, and children are result = output of the find_neighbors function where the input graph is rest, node is value, and children are [ pair (right, weight), result ] (link)
  • if right = value, then output of the find_neighbors function where the input graph is [ edge (left, right, weight), rest ], node is value, and children are result = output of the find_neighbors function where the input graph is rest, node is value, and children are [ pair (left, weight), result ] (link)


Comments

Please log in to add comments