Ignore:
Timestamp:
Sep 10, 2010, 10:51:27 AM (14 years ago)
Author:
gnappo
Message:

Implementazione di Metis: aggiunta fase di uncoarsing e algoritmo di bisezione. Un po' di refactoring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/weka/clusterers/forMetisMQI/CoarserGraphElement.java

    r6 r7  
    55public class CoarserGraphElement {
    66       
    7         private Graph g;
     7        private Graph contracted;
     8        private Graph projected;
    89        private List<Integer> match;
    910        private List<Integer> map;
    1011       
    11         public CoarserGraphElement(Graph g, List<Integer> match, List<Integer> map) {
    12                 this.g = g;
     12        public CoarserGraphElement(Graph contracted, Graph projected, List<Integer> match, List<Integer> map) {
     13                this.contracted = contracted;
     14                this.projected = projected;
    1315                this.match = match;
    1416                this.map = map;
     
    2325        }
    2426       
    25         public Graph getGraph() {
    26                 return g;
     27        public Graph getContracted() {
     28                return contracted;
     29        }
     30       
     31        public Graph getProjected() {
     32                return projected;
    2733        }
    2834
Note: See TracChangeset for help on using the changeset viewer.