Class IHSFilter
java.lang.Object
org.bigraphs.framework.simulation.matching.pure.IHSFilter
- Author:
- Dominik Grzelak
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadj
(BigraphEntity.NodeEntity<?> node, Bigraph<?> bigraph) boolean
condition1
(BigraphEntity.NodeEntity<?> nodeRedex, BigraphEntity.NodeEntity<?> nodeAgent) Degree and labelboolean
condition2
(BigraphEntity.NodeEntity<?> nodeRedex, BigraphEntity.NodeEntity<?> nodeAgent) The number of adjacent nodesboolean
condition3
(BigraphEntity.NodeEntity<?> nodeRedex, BigraphEntity.NodeEntity<?> nodeAgent) Arity containment of hyperedgesboolean
condition4
(BigraphEntity.NodeEntity<?> nodeRedex, BigraphEntity.NodeEntity<?> nodeAgent) Label matchings of hyperedgesint
degree
(BigraphEntity.NodeEntity<?> node, Bigraph<?> bigraph) getIncidentHyperedges
(BigraphEntity.NodeEntity<?> node, Bigraph<?> bigraph) getLabel
(BigraphEntity.NodeEntity<?> node) getOfNodesForHyperedgeWithLabel
(BigraphEntity.Link he, String label, Bigraph<?> bigraph) int
numOfadj
(BigraphEntity.NodeEntity<?> node, Bigraph<?> bigraph)
-
Constructor Details
-
IHSFilter
-
-
Method Details
-
condition1
public boolean condition1(BigraphEntity.NodeEntity<?> nodeRedex, BigraphEntity.NodeEntity<?> nodeAgent) Degree and label -
condition2
public boolean condition2(BigraphEntity.NodeEntity<?> nodeRedex, BigraphEntity.NodeEntity<?> nodeAgent) The number of adjacent nodes -
condition3
public boolean condition3(BigraphEntity.NodeEntity<?> nodeRedex, BigraphEntity.NodeEntity<?> nodeAgent) Arity containment of hyperedges -
condition4
public boolean condition4(BigraphEntity.NodeEntity<?> nodeRedex, BigraphEntity.NodeEntity<?> nodeAgent) Label matchings of hyperedges -
getOfNodesForHyperedgeWithLabel
public Set<BigraphEntity.NodeEntity<?>> getOfNodesForHyperedgeWithLabel(BigraphEntity.Link he, String label, Bigraph<?> bigraph) -
getIncidentHyperedges
public Map<Integer,List<BigraphEntity.Link>> getIncidentHyperedges(BigraphEntity.NodeEntity<?> node, Bigraph<?> bigraph) -
degree
- Returns:
- the number of incident hyperedges
-
getLabel
-
numOfadj
- Returns:
- The number of adjacent nodes
-
adj
-