CellNode

class modelx.core.cells.CellNode(node)[source]

Bases: object

A combination of a cells, its args and its value.

Methods

__init__(node) Initialize self.

Attributes

args Return a tuple of the cells’ arguments.
cells Return the Cells object
has_value Return True if the cell has a value.
preds A list of nodes that this node refers to.
succs A list of nodes that refer to this node.
value Return the value of the cells.
cells

Return the Cells object

args

Return a tuple of the cells’ arguments.

has_value

Return True if the cell has a value.

value

Return the value of the cells.

preds

A list of nodes that this node refers to.

succs

A list of nodes that refer to this node.

_baseattrs

A dict of members expressed in literals