Modifier and Type | Class and Description |
---|---|
static class |
CnfParser.ParseException
exception occurring during parse
|
Modifier and Type | Field and Description |
---|---|
int |
numClauses |
int |
numVars |
Constructor and Description |
---|
CnfParser(MemoryPool pool,
InputStream stream)
creates an instance of the parser for some input stream
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Iterator<IntVec> |
iterator()
to be called only once!
|
IntVec |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
forEachRemaining
public CnfParser(MemoryPool pool, InputStream stream) throws CnfParser.ParseException
pool
- the memory pool to usestream
- the stream from which to read clausesCnfParser.ParseException
- excpetion when parsing failsCopyright © 2022. All rights reserved.