Last change
on this file since 15 was
14,
checked in by gnappo, 14 years ago
|
Ulteriori refactoring. Creato il clusterer metisMqi, con opzioni.
|
File size:
823 bytes
|
Line | |
---|
1 | package weka.clusterers.forMetisMQI.util; |
---|
2 | |
---|
3 | import java.util.Map; |
---|
4 | |
---|
5 | import weka.clusterers.forMetisMQI.graph.Node; |
---|
6 | import weka.clusterers.forMetisMQI.graph.UndirectedGraph; |
---|
7 | |
---|
8 | public class CoarserGraphElement { |
---|
9 | |
---|
10 | private UndirectedGraph contracted; |
---|
11 | private UndirectedGraph projected; |
---|
12 | private Map<Node,Node> match; |
---|
13 | private Map<Node,Node> map; |
---|
14 | |
---|
15 | public CoarserGraphElement(UndirectedGraph contracted, UndirectedGraph projected, Map<Node,Node> match, Map<Node,Node> map) { |
---|
16 | this.contracted = contracted; |
---|
17 | this.projected = projected; |
---|
18 | this.match = match; |
---|
19 | this.map = map; |
---|
20 | } |
---|
21 | |
---|
22 | public Map<Node,Node> getMatch() { |
---|
23 | return match; |
---|
24 | } |
---|
25 | |
---|
26 | public Map<Node,Node> getMap() { |
---|
27 | return map; |
---|
28 | } |
---|
29 | |
---|
30 | public UndirectedGraph getContracted() { |
---|
31 | return contracted; |
---|
32 | } |
---|
33 | |
---|
34 | public UndirectedGraph getProjected() { |
---|
35 | return projected; |
---|
36 | } |
---|
37 | |
---|
38 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.