Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NodeGroup

Allows nodes to be assigned to one or more groups.

Hierarchy

  • NodeGroup

Index

Constructors

constructor

  • Initializes a new instance of the {@link com.bayesserver.NodeGroup} class.

    Parameters

    • name: string

      The name of the group, which must be unique per {@link com.bayesserver.NodeGroup}.

    Returns NodeGroup

Accessors

customProperties

  • Gets custom properties associated with this instance.

    Custom properties allow storage of custom information, which will be saved with the network.

    Returns CustomPropertyCollection

description

  • get description(): string
  • set description(value: string): void
  • An optional description for the custom property.

    Returns string

  • An optional description for the custom property.

    Parameters

    • value: string

    Returns void

name

  • get name(): string
  • set name(value: string): void
  • Gets the name, which must be unique per {@link com.bayesserver.NetworkNodeGroupCollection}.

    Returns string

  • Gets the name, which must be unique per {@link com.bayesserver.NetworkNodeGroupCollection}.

    Parameters

    • value: string

    Returns void

parent

Methods

_setParent

copy

  • Makes a copy of this instance.

    Returns NodeGroup

    The copy.