Class VectorFileUtils

java.lang.Object
org.uma.jmetal.util.fileinput.VectorFileUtils

public class VectorFileUtils extends Object
created at 3:49 pm, 2019/1/29 the common util to read reference vectors/reference points/uniform weight vectors from file Modified by Antonio J. Nebro on 8/03/2019
Author:
sunhaoran
  • Constructor Details

    • VectorFileUtils

      public VectorFileUtils()
  • Method Details

    • readVectors

      public static double[][] readVectors(String filePath)
      Parameters:
      filePath - the file need to read
      Returns:
      referenceVectors. referenceVectors[i][j] means the i-th vector's j-th value
      Throws:
      JMetalException - if error while read file