Class Scalor


  • public class Scalor
    extends java.lang.Object
    Created by Michael Weiss on 06.05.2017.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.math.BigDecimal highestValidVal  
    • Constructor Summary

      Constructors 
      Constructor Description
      Scalor()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.math.BigDecimal biggestUnscaledPossibleValue​(java.util.Collection<MRVMBidder> bidders)
      Returns the biggest possible value any of the passed bidders can have
      static double scalingFactor​(java.util.Collection<MRVMBidder> bidders)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • highestValidVal

        public static java.math.BigDecimal highestValidVal
    • Constructor Detail

      • Scalor

        public Scalor()
    • Method Detail

      • scalingFactor

        public static double scalingFactor​(java.util.Collection<MRVMBidder> bidders)
      • biggestUnscaledPossibleValue

        public static java.math.BigDecimal biggestUnscaledPossibleValue​(java.util.Collection<MRVMBidder> bidders)
        Returns the biggest possible value any of the passed bidders can have
        Returns: