Class QsqTemplate
java.lang.Object
edu.harvard.seas.pl.abcdatalog.engine.topdown.QsqTemplate
A template containing the attribute schemata of the supplementary relations for a given rule in
QSQ evaluation.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
QsqTemplate
Constructs a template from an adorned rule.- Parameters:
rule
- the adorned rule
-
-
Method Details
-
get
Returns the schema for the ith (0-indexed) supplementary relation.- Parameters:
i
- the index- Returns:
- the schema
-
size
public int size()Returns the number of schemata in this template.- Returns:
- the number of schemata
-
toString
-
hashCode
public int hashCode() -
equals
-