org.sat4j.pb.reader
Class PBInstanceReader
java.lang.Object
org.sat4j.reader.Reader
org.sat4j.reader.InstanceReader
org.sat4j.pb.reader.PBInstanceReader
public class PBInstanceReader
- extends InstanceReader
An reader having the responsibility 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 |
PBInstanceReader
public PBInstanceReader(IPBSolver solver)
parseInstance
public IProblem parseInstance(java.lang.String filename)
throws java.io.FileNotFoundException,
ParseFormatException,
java.io.IOException,
ContradictionException
- Overrides:
parseInstance
in class InstanceReader
- Throws:
java.io.FileNotFoundException
ParseFormatException
java.io.IOException
ContradictionException
decode
@Deprecated
public java.lang.String decode(int[] model)
- Deprecated.
- Overrides:
decode
in class InstanceReader
decode
public void decode(int[] model,
java.io.PrintWriter out)
- Overrides:
decode
in class InstanceReader
parseInstance
public IProblem parseInstance(java.io.Reader in)
throws ParseFormatException,
ContradictionException,
java.io.IOException
- Overrides:
parseInstance
in class InstanceReader
- Throws:
ParseFormatException
ContradictionException
java.io.IOException
Copyright © 2009 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.