Package edu.claflin.finder.algo.clustering.struct.infomap_struct

# Class ModuleNode

java.lang.Object
edu.claflin.finder.logic.Node
edu.claflin.finder.algo.clustering.struct.infomap_struct.ModuleNode

All Implemented Interfaces:
  `Comparable<Node>`

public class ModuleNode extends Node

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `private final Set<Node>`
  `members`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ModuleNode(Node node)`
  `ModuleNode(String identifier)`
  Initializes the Node object.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addMember(Node node)`
  `Set<Node>`
  `getMembers()`
  `boolean`
  `isModule()`
  `void`
  `removeMember(Node node)`

  ### Methods inherited from class edu.claflin.finder.logic.Node

  `addEdge, compareTo, duplicate, equals, getDegree, getEdge, getEdges, getFreq, getIdentifier, getIntegerIdentifier, getNeighbors, getWeight, hashCode, incrementFreq, removeEdge, setIntegerIdentifier, toString`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### members

    private final Set<Node> members

- ## Constructor Details

  - ### ModuleNode

    public ModuleNode(String identifier)
    Initializes the Node object.
    Parameters:
      `identifier` - the String representing the Node's identifier.

  - ### ModuleNode

    public ModuleNode(Node node)

- ## Method Details

  - ### getMembers

    public Set<Node> getMembers()

  - ### addMember

    public void addMember(Node node)

  - ### removeMember

    public void removeMember(Node node)

  - ### isModule

    public boolean isModule()