samples.tutorials.lns.rcpsp
Class RCPSPCmd

java.lang.Object
  extended by cli.AbstractCmdLine
      extended by cli.AbstractBenchmarkCmd
          extended by samples.tutorials.lns.rcpsp.RCPSPCmd
All Implemented Interfaces:
FileProcedure

public class RCPSPCmd
extends AbstractBenchmarkCmd

launch the resolution of the RCPSP by CP or LNS/CP

Author:
Sophie Demassey

Field Summary
 
Fields inherited from class cli.AbstractBenchmarkCmd
databaseFile, databaseURL, DISCONNECTED, inputFile, instance, outputDirectory, propertyFile, seed, seeder, settings, timeLimit
 
Fields inherited from class cli.AbstractCmdLine
arguments, CMD, hasExtraArgument, LOGGER, NONE, parser
 
Constructor Summary
RCPSPCmd(Configuration configuration)
           
 
Method Summary
protected  void checkData()
          check the validity of the command line
protected  AbstractInstanceModel createInstance()
           
 boolean execute(File file)
          Any procedure associated with a file.
static void main(String[] args)
           
 
Methods inherited from class cli.AbstractBenchmarkCmd
configureInstance, execute, setGlobalVerbosity
 
Methods inherited from class cli.AbstractCmdLine
doMain, exitOnException, help
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RCPSPCmd

public RCPSPCmd(Configuration configuration)
Method Detail

createInstance

protected AbstractInstanceModel createInstance()
Specified by:
createInstance in class AbstractBenchmarkCmd

execute

public boolean execute(File file)
Any procedure associated with a file.

Returns:
true if succeeds.

checkData

protected void checkData()
                  throws org.kohsuke.args4j.CmdLineException
Description copied from class: AbstractCmdLine
check the validity of the command line

Overrides:
checkData in class AbstractBenchmarkCmd
Throws:
org.kohsuke.args4j.CmdLineException

main

public static void main(String[] args)


Copyright © 2012. All Rights Reserved.