|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmetal.problems.mqap.ReadInstance
public class ReadInstance
| 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 |
|---|
public ReadInstance(java.lang.String name)
name: - the name of the file| Method Detail |
|---|
public void loadInstance()
public void createSingleObjectiveInstance(int[] weights)
vector: - a vector containing the weights for the aggregative approachpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||