Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MetanodeImpl

Hierarchy

  • MetanodeImpl

Implements

Index

Constructors

constructor

  • new MetanodeImpl(name: string, opt?: object): MetanodeImpl
  • A label object for meta-nodes in the graph hierarchy

    Parameters

    • name: string
    • Default value opt: object = {}

    Returns MetanodeImpl

Properties

bridgegraph

bridgegraph: Graph<GroupNode | OpNode, Metaedge>

cardinality

cardinality: number

depth

depth: number

hasNonControlEdges

hasNonControlEdges: boolean

include

include: InclusionType

isGroupNode

isGroupNode: boolean

metagraph

name

name: string

nodeAttributes

nodeAttributes: object

Type declaration

  • [key: string]: any

opHistogram

opHistogram: object

Type declaration

  • [op: string]: number

parentNode

parentNode: Node

templateId

templateId: string

type

type: NodeType

Methods

getFirstChild

getRootOp

  • Returns the op node associated with the metanode. For example, if the metanode is 'sgd', the associated op node is sgd/(sgd).

    Returns OpNode

leaves

  • leaves(): string[]
  • Return an array of the names of all the leaves (non-GroupNodes) inside this metanode. This performs a breadth-first search of the tree, so immediate child leaves will appear earlier in the output array than descendant leaves.

    Returns string[]

Generated using TypeDoc