samples.tutorials.to_sort.packing.parser
Class BinPackingCmd
java.lang.Object
cli.AbstractCmdLine
cli.AbstractBenchmarkCmd
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lightModel
protected boolean lightModel
- the type of model
BinPackingCmd
public BinPackingCmd()
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.