agx.Node

class agx.Node(id, type_id, num_connections)[source]

Bases: object

Container for a node.

Parameters:
  • id (int) – The id of the node.

  • type_id (int) – This defines a collection of nodes as equivalent.

  • num_connections (int) – The number of connections the node makes.

Methods

Attributes

id: int
num_connections: int
type_id: int