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 SummaryConstructor Description PwlBreakpoint()Create a breakpoint (0,0).PwlBreakpoint(double x, double y)Create a breakpoint with the specified coordinates.
 -  
         Method SummaryModifier and Type Method Description intcompareTo(PwlBreakpoint other)static PwlBreakpoint[]convert(double[] xval, double[] yval)static double[][]convert(PwlBreakpoint[] breakpoints)static double[][]convert(java.util.Collection<PwlBreakpoint> breakpoints)static double[][]convert(java.util.stream.Stream<PwlBreakpoint> breakpoints)booleanequals(PwlBreakpoint other)booleanequals(java.lang.Object other)doublegetX()doublegetY()inthashCode()
 
-  
         
-  
    
   -  
         Constructor Detail-  PwlBreakpointpublic PwlBreakpoint() Create a breakpoint (0,0).- Since:
- 43.00
 
 -  PwlBreakpointpublic 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-  getXpublic double getX() 
 -  getYpublic double getY() 
 -  equalspublic boolean equals(java.lang.Object other) - Overrides:
- 
          equalsin classjava.lang.Object
- Since:
- 43.00
 
 -  equalspublic boolean equals(PwlBreakpoint other) - Since:
- 43.00
 
 -  compareTopublic int compareTo(PwlBreakpoint other) - Specified by:
- 
          compareToin interfacejava.lang.Comparable<PwlBreakpoint>
- Since:
- 43.00
 
 -  hashCodepublic int hashCode() - Overrides:
- 
          hashCodein classjava.lang.Object
- Since:
- 43.00
 
 -  convertpublic static double[][] convert(PwlBreakpoint[] breakpoints) - Since:
- 43.00
 
 -  convertpublic static double[][] convert(java.util.Collection<PwlBreakpoint> breakpoints) - Since:
- 43.00
 
 -  convertpublic static double[][] convert(java.util.stream.Stream<PwlBreakpoint> breakpoints) - Since:
- 43.00
 
 -  convertpublic 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.
 
