Interface Node

All Superinterfaces:
Comparable<Component>, Component, Serializable
All Known Implementing Classes:
AbstractNode, LabeledNode

public interface Node extends Component
Root class for representing nodes in it.univr.di.cstnu package.
Version:
$Rev: 993 $
Author:
posenato
  • Method Details

    • isContingent

      default boolean isContingent()
      Returns:
      true if the node is contingent.
    • isParameter

      default boolean isParameter()
      Returns:
      true if the node is a parameter one.
    • newInstance

      Node newInstance()
      Factory
      Returns:
      an object of type Edge.
    • newInstance

      Node newInstance(Node node)
      Any super-interfaces/implementing classes should ensure that such a method has an Edge node as an argument!
      Parameters:
      node - an object to clone.
      Returns:
      an object of type Edge.
    • newInstance

      Node newInstance(String name)
      Factory
      Parameters:
      name - of the node
      Returns:
      an object of type Edge.
    • takeIn

      void takeIn(Node e)
      A copy by reference of node 'e' internal structure.
      Parameters:
      e - node to clone. If null, it does nothing.