jmetal.problems.mqap
Class ReadInstance

java.lang.Object
  extended by jmetal.problems.mqap.ReadInstance

public class ReadInstance
extends java.lang.Object

Version:
1.0 This class provides some functionalities for reading mQAP from file
Author:
Juan J. Durillo

Constructor Summary
ReadInstance(java.lang.String name)
           
 
Method Summary
 void createSingleObjectiveInstance(int[] weights)
           
 void loadInstance()
          Reads the instance from file This method should be called for reading all the data from file.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadInstance

public ReadInstance(java.lang.String name)
Parameters:
name: - the name of the file
Method Detail

loadInstance

public void loadInstance()
Reads the instance from file This method should be called for reading all the data from file.


createSingleObjectiveInstance

public void createSingleObjectiveInstance(int[] weights)
Parameters:
vector: - a vector containing the weights for the aggregative approach

main

public static void main(java.lang.String[] args)