Saturday, September 21, 2013

GraphDecomposer Interface





package org.nanotek.graph;

/*
 * Interface for graph decomposition.
 * Objective: Describe a graph decomposition into a "Generic Result"
 * Either the graph or the result are "abstract concepts" and its structure may differ from
 * the formal definition of a graph it self.
 * Useful interface for name;value: pair objects.
 *
 */
public interface GraphDecomposer <G,R>{

public R decompose(G graph);

}

Seydi Ahmet BAYRAKTAR