java.lang.Object
com.marginallyclever.nodegraphcore.Node
com.marginallyclever.nodegraphcore.nodes.math.Max

public class Max
extends Node
C=max(A,B)
Since:
2022-02-01
  • Constructor Details

    • Max

      public Max()
      Constructor for subclasses to call.
    • Max

      public Max​(double a, double b)
      Constructor for subclasses to call.
      Parameters:
      a - the starting value.
      b - the starting value.
  • Method Details

    • create

      public Node create()
      Description copied from class: Node
      Return one new instance of this type of Node. Override this method in derived classes.
      Specified by:
      create in class Node
      Returns:
      One new instance of this type of Node.
    • update

      public void update()
      Description copied from class: Node
      Override this method to provide the custom behavior of this node. Runs regardless of dirty inputs or outputs.
      Specified by:
      update in class Node