use of com.sri.ai.praise.core.representation.classbased.table.core.data.FunctionTable in project aic-praise by aic-sri-international.
the class UAIModelReader method readFunctionTables.
private static Map<Integer, FunctionTable> readFunctionTables(Preamble preamble, BufferedReader br) throws IOException {
Map<Integer, FunctionTable> tableIdxToTable = new LinkedHashMap<>();
// the first variable have the role of the 'most significant’ digit.
for (int t = 0; t < preamble.numTables(); t++) {
FunctionTable functionTable = createFunctionTable(preamble.cardinalitiesForTable(t), br);
tableIdxToTable.put(t, functionTable);
}
return tableIdxToTable;
}
Aggregations