This is a common interface for graph vertex mapping logic. Though I call it Matcher so that people don't get confused with mapper in MapReduce.
| 31 | */ |
| 32 | |
| 33 | public interface NodeMatcher<E extends Operator, |
| 34 | P extends OperatorPlan<E>> { |
| 35 | |
| 36 | /*** |
| 37 | * This method does matching between vertices in two |
| 38 | * given plans. |
| 39 | * |
| 40 | * @param plan1 |
| 41 | * @param plan2 |
| 42 | * @param messages |
| 43 | * @return The output map: plan1Key -> plan2Key |
| 44 | */ |
| 45 | Map<OperatorKey, OperatorKey> match(P plan1, |
| 46 | P plan2, |
| 47 | StringBuilder messages) ; |
| 48 | } |
no outgoing calls
no test coverage detected