blob: 4b0761f26b28d5e92b900a04ef8abe905e350303 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
package tools.refinery.store.reasoning.translator.typehierarchy;
import tools.refinery.store.model.Model;
import tools.refinery.store.reasoning.representation.PartialRelation;
import tools.refinery.store.reasoning.translator.TranslatedRelation;
import tools.refinery.store.reasoning.translator.TranslationUnit;
import tools.refinery.store.representation.Symbol;
import java.util.Collection;
import java.util.List;
import java.util.Map;
public class TypeHierarchyTranslationUnit extends TranslationUnit {
static final Symbol<InferredType> INFERRED_TYPE_SYMBOL = new Symbol<>("inferredType", 1,
InferredType.class, InferredType.UNTYPED);
private final TypeAnalyzer typeAnalyzer;
public TypeHierarchyTranslationUnit(Map<PartialRelation, TypeInfo> typeInfoMap) {
typeAnalyzer = new TypeAnalyzer(typeInfoMap);
}
@Override
public Collection<TranslatedRelation> getTranslatedRelations() {
return List.of();
}
@Override
public void initializeModel(Model model, int nodeCount) {
}
}
|