public final class AssociationPair extends Object
Constructor and Description |
---|
AssociationPair(List<VariableContext> x,
List<VariableContext> y)
Initializes a new instance of the
AssociationPair class with two sets of variable contexts. |
AssociationPair(Node x,
Node y)
Initializes a new instance of the
AssociationPair class with individual nodes. |
AssociationPair(Variable x,
Variable y)
Initializes a new instance of the
AssociationPair class with individual variables. |
Modifier and Type | Method and Description |
---|---|
List<VariableContext> |
getX()
Gets the variable contexts in the first set.
|
List<VariableContext> |
getY()
Gets the varible contexts in the second set.
|
public AssociationPair(Variable x, Variable y)
AssociationPair
class with individual variables.public AssociationPair(Node x, Node y)
AssociationPair
class with individual nodes.
You can test the strength of a link by setting x = link.From and y= link.To.public AssociationPair(List<VariableContext> x, List<VariableContext> y)
AssociationPair
class with two sets of variable contexts.public List<VariableContext> getX()
public List<VariableContext> getY()
Copyright © 2023. All rights reserved.