samples.tutorials.lns.rcpsp
Class RCPSPFileParser
java.lang.Object
samples.tutorials.lns.rcpsp.RCPSPFileParser
- All Implemented Interfaces:
- InstanceFileParser
public class RCPSPFileParser
- extends Object
- implements InstanceFileParser
Parser for instance files from benchmark sets of the Resource-Constrained Project Scheduling Problem:
BL (Baptiste-Le Pape)
PSPLib (KSD)
- Since:
- 11/01/11 - 14:49
- Author:
- Sophie Demassey
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RCPSPFileParser
public RCPSPFileParser()
getData
public RCPSPData getData()
getInstanceFile
public File getInstanceFile()
- Specified by:
getInstanceFile
in interface InstanceFileParser
loadInstance
public void loadInstance(File file)
- Specified by:
loadInstance
in interface InstanceFileParser
parse
public void parse(boolean displayInstance)
throws UnsupportedConstraintException
- Specified by:
parse
in interface InstanceFileParser
- Throws:
UnsupportedConstraintException
cleanup
public void cleanup()
- Specified by:
cleanup
in interface InstanceFileParser
Copyright © 2012. All Rights Reserved.