Ignore:
Timestamp:
Sep 14, 2010, 2:11:28 PM (14 years ago)
Author:
gnappo
Message:

Migrato il resto del codice verso Jung.

File:
1 edited

Legend:

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

    r7 r9  
    11package weka.clusterers.forMetisMQI;
    22
    3 import java.util.List;
     3import java.util.Map;
    44
    55public class CoarserGraphElement {
    66       
    7         private Graph contracted;
    8         private Graph projected;
    9         private List<Integer> match;
    10         private List<Integer> map;
     7        private UndirectedGraph contracted;
     8        private UndirectedGraph projected;
     9        private Map<Node,Node> match;
     10        private Map<Node,Node> map;
    1111       
    12         public CoarserGraphElement(Graph contracted, Graph projected, List<Integer> match, List<Integer> map) {
     12        public CoarserGraphElement(UndirectedGraph contracted, UndirectedGraph projected, Map<Node,Node> match, Map<Node,Node> map) {
    1313                this.contracted = contracted;
    1414                this.projected = projected;
     
    1717        }
    1818       
    19         public List<Integer> getMatch() {
     19        public Map<Node,Node> getMatch() {
    2020                return match;
    2121        }
    2222       
    23         public List<Integer> getMap() {
     23        public Map<Node,Node> getMap() {
    2424                return map;
    2525        }
    2626       
    27         public Graph getContracted() {
     27        public UndirectedGraph getContracted() {
    2828                return contracted;
    2929        }
    3030       
    31         public Graph getProjected() {
     31        public UndirectedGraph getProjected() {
    3232                return projected;
    3333        }
Note: See TracChangeset for help on using the changeset viewer.