XPUSP - Home

br.usp.ime.xpusp.paxyroj
Class GAScheduleGenerator

java.lang.Object
  |
  +--br.usp.ime.xpusp.paxyroj.GAScheduleGenerator
All Implemented Interfaces:
ScheduleGenerator

public class GAScheduleGenerator
extends java.lang.Object
implements ScheduleGenerator


Field Summary
static java.lang.String DATA
           
 java.lang.String data_file_location
           
static java.lang.String DATA2
           
 java.lang.String data2_file_location
           
static java.lang.String DB
           
 java.lang.String db_file_location
           
static java.lang.String EXPORTER
           
 java.lang.String exporter_location
           
static java.lang.String GOGO
           
static java.lang.String IMPORTER
           
 java.lang.String importer_location
           
 
Constructor Summary
GAScheduleGenerator()
           
 
Method Summary
 void cleanUp()
          If there is a necessity to cleanup between one year and anotherone.
 void prepare()
          If there is a need to perform preparation before starting to generate the solution, this method should implement that.
 void startSolving(Year year)
          Start solving the problem.
 void stopSolving(Year year)
          Stop solving the problem.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

EXPORTER

public static final java.lang.String EXPORTER

DATA

public static final java.lang.String DATA

DB

public static final java.lang.String DB

GOGO

public static final java.lang.String GOGO

IMPORTER

public static final java.lang.String IMPORTER

DATA2

public static final java.lang.String DATA2

exporter_location

public java.lang.String exporter_location

data_file_location

public java.lang.String data_file_location

db_file_location

public java.lang.String db_file_location

importer_location

public java.lang.String importer_location

data2_file_location

public java.lang.String data2_file_location
Constructor Detail

GAScheduleGenerator

public GAScheduleGenerator()
                    throws java.lang.Exception
Method Detail

cleanUp

public void cleanUp()
             throws java.lang.Exception
Description copied from interface: ScheduleGenerator
If there is a necessity to cleanup between one year and anotherone. This method should be able to do that. It is called by Year.doStartpooling to ensure that everything has been cleaned up.
Specified by:
cleanUp in interface ScheduleGenerator
Following copied from interface: br.usp.ime.xpusp.ScheduleGenerator
Throws:
java.lang.Exception - if there is a problem

prepare

public void prepare()
             throws java.lang.Exception
Description copied from interface: ScheduleGenerator
If there is a need to perform preparation before starting to generate the solution, this method should implement that. It is called by Year.doStoppooling
Specified by:
prepare in interface ScheduleGenerator
Following copied from interface: br.usp.ime.xpusp.ScheduleGenerator
Throws:
java.lang.Exception - if there is a problem

startSolving

public void startSolving(Year year)
                  throws java.lang.Exception
Description copied from interface: ScheduleGenerator
Start solving the problem. Called by Year.doStartsolving you can assume that PoolResults have been calculated here
Specified by:
startSolving in interface ScheduleGenerator
Following copied from interface: br.usp.ime.xpusp.ScheduleGenerator
Throws:
java.lang.Exception - if there is a problem

stopSolving

public void stopSolving(Year year)
                 throws java.lang.Exception
Description copied from interface: ScheduleGenerator
Stop solving the problem. Called by Year.doStopsolving you can assume that PoolResults have been calculated here
Specified by:
stopSolving in interface ScheduleGenerator
Following copied from interface: br.usp.ime.xpusp.ScheduleGenerator
Throws:
java.lang.Exception - if there is a problem

XPUSP - Home