Class MatrixUtils

java.lang.Object
es.urjc.etsii.grafo.moocore.internal.MatrixUtils

public final class MatrixUtils extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static double[][]
    deepCopy(double[][] matrix)
     
    static boolean[]
    directions(boolean[] maximise, int objectives)
     
    static Map<Integer,int[]>
    groups(int[] sets, int rows)
     
    static double[][]
    rows(double[][] matrix, int[] indices)
     
    static double[][]
    select(double[][] matrix, boolean[] selected)
     
    static double[][]
    toMinimisation(double[][] points, boolean[] maximise)
     
    static double[]
    toMinimisation(double[] point, boolean[] maximise)
     
    static int
    validate(double[][] points, int minimumObjectives)
     
    static int
    validate(double[][] points, int minimumObjectives, int maximumObjectives)
     
    static double[]
    vector(double[] values, int objectives, String name)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • validate

      public static int validate(double[][] points, int minimumObjectives)
    • validate

      public static int validate(double[][] points, int minimumObjectives, int maximumObjectives)
    • directions

      public static boolean[] directions(boolean[] maximise, int objectives)
    • vector

      public static double[] vector(double[] values, int objectives, String name)
    • toMinimisation

      public static double[][] toMinimisation(double[][] points, boolean[] maximise)
    • toMinimisation

      public static double[] toMinimisation(double[] point, boolean[] maximise)
    • deepCopy

      public static double[][] deepCopy(double[][] matrix)
    • select

      public static double[][] select(double[][] matrix, boolean[] selected)
    • groups

      public static Map<Integer,int[]> groups(int[] sets, int rows)
    • rows

      public static double[][] rows(double[][] matrix, int[] indices)