public class FirstOrderModel extends Object
Constructor and Description |
---|
FirstOrderModel() |
Modifier and Type | Method and Description |
---|---|
Map<String,Set<List<String>>> |
getAtomicInterpretations() |
Set<List<String>> |
getInterpretation(String predicate) |
int |
getMaxArity() |
Set<String> |
getUniverse() |
Set<List<String>> |
getUniverseAsTuples() |
static FirstOrderModel |
read(Reader optionReader)
Reads the options from a Json string representation.
|
void |
setAtomicInterpretations(Map<String,Set<List<String>>> atomicInterpretations) |
void |
setInterpretation(String predicate,
Set<List<String>> interpretation) |
public static final String TOP
public int getMaxArity()
public static FirstOrderModel read(Reader optionReader) throws Exception
{"sleep": [["e", "r1"]], "rabbit": [["r1"], ["r2"]], "white": [["r1"], ["b"]], "in": [["r1","h"], ["f","h2"]], "hat": [["h"], ["h2"]] }
optionReader
- Exception
public final void setAtomicInterpretations(Map<String,Set<List<String>>> atomicInterpretations)
Copyright © 2017. All rights reserved.