samples.tutorials.to_sort.packing.parser
Class BinPackingCmd

java.lang.Object
  extended by cli.AbstractCmdLine
      extended by cli.AbstractBenchmarkCmd
          extended by samples.tutorials.to_sort.packing.parser.BinPackingCmd
All Implemented Interfaces:
FileProcedure

public class BinPackingCmd
extends AbstractBenchmarkCmd

An extension of AbstractBenchmarkCmd abstract class to load and solve BinPacking problems. Instances can be found here

Since:
8 juil. 2010
Author:
Charles Prud'homme - Arnaud Malapert

Field Summary
protected  boolean lightModel
          the type of model
 
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
BinPackingCmd()
           
 
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
 

Field Detail

lightModel

protected boolean lightModel
the type of model

Constructor Detail

BinPackingCmd

public BinPackingCmd()
Method Detail

createInstance

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

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

execute

public boolean execute(File file)
Description copied from interface: FileProcedure
Any procedure associated with a file.

Returns:
true if succeeds.

main

public static void main(String[] args)


Copyright © 2012. All Rights Reserved.