Initializing help system before first use

PwlBreakpoint

  • java.lang.Object
    • com.dashoptimization.PwlBreakpoint
  • All Implemented Interfaces:
    java.lang.Comparable<PwlBreakpoint>

    public final class PwlBreakpoint
    extends java.lang.Object
    implements java.lang.Comparable<PwlBreakpoint>
    A breakpoint in a piecewise linear function.
    Since:
    43.00
    • Constructor Detail

      • PwlBreakpoint

        public PwlBreakpoint()
        Create a breakpoint (0,0).
        Since:
        43.00
      • PwlBreakpoint

        public PwlBreakpoint​(double x,
                             double y)
        Create a breakpoint with the specified coordinates.
        Parameters:
        x - X coordinate for new breakpoint.
        y - Y coordinate for new breakpoint.
        Since:
        43.00
    • Method Detail

      • getX

        public double getX()
      • getY

        public double getY()
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class  java.lang.Object
        Since:
        43.00
      • equals

        public boolean equals​(PwlBreakpoint other)
        Since:
        43.00
      • compareTo

        public int compareTo​(PwlBreakpoint other)
        Specified by:
        compareTo in interface  java.lang.Comparable<PwlBreakpoint>
        Since:
        43.00
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class  java.lang.Object
        Since:
        43.00
      • convert

        public static double[][] convert​(PwlBreakpoint[] breakpoints)
        Since:
        43.00
      • convert

        public static double[][] convert​(java.util.Collection<PwlBreakpoint> breakpoints)
        Since:
        43.00
      • convert

        public static double[][] convert​(java.util.stream.Stream<PwlBreakpoint> breakpoints)
        Since:
        43.00
      • convert

        public static PwlBreakpoint[] convert​(double[] xval,
                                              double[] yval)
        Since:
        43.00

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.