class AmbiguateProperties.PropertySubGraph extends java.lang.Object implements SubGraph<AmbiguateProperties.Property,java.lang.Void>
SubGraph that represents properties. The related types of
the properties are used to efficiently calculate adjacency information.| Modifier and Type | Field and Description |
|---|---|
(package private) AmbiguateProperties.JSTypeBitSet |
relatedTypes
Types related to properties referenced in this subgraph.
|
| Constructor and Description |
|---|
PropertySubGraph() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNode(AmbiguateProperties.Property prop)
Adds the node to the sub graph, adding all its related types to the
related types for the sub graph.
|
boolean |
isIndependentOf(AmbiguateProperties.Property prop)
Returns true if prop is in an independent set from all properties in this
sub graph.
|
AmbiguateProperties.JSTypeBitSet relatedTypes
public boolean isIndependentOf(AmbiguateProperties.Property prop)
isIndependentOf in interface SubGraph<AmbiguateProperties.Property,java.lang.Void>public void addNode(AmbiguateProperties.Property prop)
addNode in interface SubGraph<AmbiguateProperties.Property,java.lang.Void>