org.sat4j.reader
Class CSPInstanceReader
java.lang.Object
org.sat4j.reader.Reader
org.sat4j.reader.InstanceReader
org.sat4j.reader.CSPInstanceReader
public class CSPInstanceReader
- extends InstanceReader
An reader having the responsability to choose the right reader according to
the input.
- Author:
- leberre
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CSPInstanceReader
public CSPInstanceReader(ISolver solver)
parseInstance
public IProblem parseInstance(String filename)
throws FileNotFoundException,
ParseFormatException,
IOException,
ContradictionException
- Overrides:
parseInstance
in class InstanceReader
- Throws:
FileNotFoundException
ParseFormatException
IOException
ContradictionException
decode
@Deprecated
public String decode(int[] model)
- Deprecated.
- Overrides:
decode
in class InstanceReader
decode
public void decode(int[] model,
PrintWriter out)
- Overrides:
decode
in class InstanceReader
parseInstance
public IProblem parseInstance(Reader in)
throws ParseFormatException,
ContradictionException,
IOException
- Overrides:
parseInstance
in class InstanceReader
- Throws:
ParseFormatException
ContradictionException
IOException
Copyright © 2010 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.