com.sun.electric.tool.simulation

Class RangeSample<S extends Sample>

    • Constructor Summary

      Constructors 
      Constructor and Description
      RangeSample(S min, S max) 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object o) 
      S getMax() 
      double getMaxValue() 
      S getMin() 
      double getMinValue() 
      Sample glb(Sample s)
      There's a question here as to what the order on Ranges should be; logically the lub is the union of the ranges and the glb is the intersection, but that's not likely to be very useful in practice.
      int hashCode() 
      boolean isLogicX()
      returns true iff this sample is "X" (unknown)
      boolean isLogicZ()
      returns true iff this sample is "Z" (unconnected)
      Sample lub(Sample s)
      There's a question here as to what the order on Ranges should be; logically the lub is the union of the ranges and the glb is the intersection, but that's not likely to be very useful in practice.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RangeSample

        public RangeSample(S min,
                   S max)
    • Method Detail

      • getMin

        public S getMin()
      • getMax

        public S getMax()
      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • isLogicX

        public boolean isLogicX()
        Description copied from interface: Sample
        returns true iff this sample is "X" (unknown)
        Specified by:
        isLogicX in interface Sample
      • isLogicZ

        public boolean isLogicZ()
        Description copied from interface: Sample
        returns true iff this sample is "Z" (unconnected)
        Specified by:
        isLogicZ in interface Sample
      • lub

        public Sample lub(Sample s)
        There's a question here as to what the order on Ranges should be; logically the lub is the union of the ranges and the glb is the intersection, but that's not likely to be very useful in practice.
        Specified by:
        lub in interface Sample
      • glb

        public Sample glb(Sample s)
        There's a question here as to what the order on Ranges should be; logically the lub is the union of the ranges and the glb is the intersection, but that's not likely to be very useful in practice.
        Specified by:
        glb in interface Sample
      • getMinValue

        public double getMinValue()
        Specified by:
        getMinValue in interface Sample
      • getMaxValue

        public double getMaxValue()
        Specified by:
        getMaxValue in interface Sample