Unified Typesetting API M1-20040817

de.inghuimische.uta.util
Interface UTAGraph


public interface UTAGraph

A simple graph interface for the BreakpointUtil class.

Author:
Christian Ziesemer

Method Summary
 void addEdge(Breakpoint source, Breakpoint target, double weight)
          Adds an edge to the graph.
 void addVertex(Breakpoint aVertex)
          Adds a breakpoint to the graph.
 

Method Detail

addVertex

public void addVertex(Breakpoint aVertex)
Adds a breakpoint to the graph.

Parameters:
aVertex - The breakpoint to add.

addEdge

public void addEdge(Breakpoint source,
                    Breakpoint target,
                    double weight)
Adds an edge to the graph.

Parameters:
source - The source of the edge.
target - The target of the edge.
weight - The weight of the edge (demerits).

Unified Typesetting API M1-20040817


An inghuimische.de project.
Copyright (C) 2004 Christian Ziesemer; See the Mozilla Public License for more details.