Class AlgorithmVOISimplexOpt.CostFunction

    • Constructor Summary

      Constructors 
      Constructor Description
      CostFunction()
      Empty constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      double cost​(double[] x)
      Calcuated the cost function for a given simplex vertex. cost = intensity sum of errors = sum_i(I[i] - I'[i])
      double cost​(TransMatrix tMatrix)
      Deprecated.
      DOCUMENT ME!
      double cost​(TransMatrixd tMatrix)
      Deprecated.
      DOCUMENT ME!
      int getCostFunction()  
      • Methods inherited from class java.lang.Object

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

      • CostFunction

        public CostFunction()
        Empty constructor.
    • Method Detail

      • cost

        public double cost​(TransMatrix tMatrix)
        Deprecated.
        DOCUMENT ME!
        Filler to implement cost functions from AlgorithmOptimizeFunctionBase.
        Specified by:
        cost in interface AlgorithmOptimizeFunctionBase
        Parameters:
        tMatrix - the translation matrix
        Returns:
        the value of the cost function
      • cost

        public double cost​(TransMatrixd tMatrix)
        Deprecated.
        DOCUMENT ME!
        Filler to implement cost functions from AlgorithmOptimizeFunctionBase.
        Specified by:
        cost in interface AlgorithmOptimizeFunctionBase
        Parameters:
        tMatrix - the translation matrix
        Returns:
        the value of the cost function
      • cost

        public double cost​(double[] x)
        Calcuated the cost function for a given simplex vertex. cost = intensity sum of errors = sum_i(I[i] - I'[i])
        Specified by:
        cost in interface AlgorithmOptimizeFunctionBase
        Parameters:
        x - row of p[][] (a simplex vertex)
        Returns:
        the value of the cost function