Last change
on this file since 7 was
7,
checked in by gnappo, 14 years ago
|
Implementazione di Metis: aggiunta fase di uncoarsing e algoritmo di bisezione. Un po' di refactoring.
|
File size:
647 bytes
|
Line | |
---|
1 | package weka.clusterers.forMetisMQI; |
---|
2 | |
---|
3 | import java.util.List; |
---|
4 | |
---|
5 | public class CoarserGraphElement { |
---|
6 | |
---|
7 | private Graph contracted; |
---|
8 | private Graph projected; |
---|
9 | private List<Integer> match; |
---|
10 | private List<Integer> map; |
---|
11 | |
---|
12 | public CoarserGraphElement(Graph contracted, Graph projected, List<Integer> match, List<Integer> map) { |
---|
13 | this.contracted = contracted; |
---|
14 | this.projected = projected; |
---|
15 | this.match = match; |
---|
16 | this.map = map; |
---|
17 | } |
---|
18 | |
---|
19 | public List<Integer> getMatch() { |
---|
20 | return match; |
---|
21 | } |
---|
22 | |
---|
23 | public List<Integer> getMap() { |
---|
24 | return map; |
---|
25 | } |
---|
26 | |
---|
27 | public Graph getContracted() { |
---|
28 | return contracted; |
---|
29 | } |
---|
30 | |
---|
31 | public Graph getProjected() { |
---|
32 | return projected; |
---|
33 | } |
---|
34 | |
---|
35 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.