All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graph.core.Graph Maven / Gradle / Ivy

There is a newer version: 1.4.3
Show newest version
package graph.core;

import graph.util.List;


public interface Graph {
    public Vertex[] endVertices(Edge v);
    public Vertex opposite(Vertex v, Edge e);
    public boolean areAdjacent(Vertex v, Vertex w);
    public V replace(Vertex v, V x);
    public E replace(Edge e, E x);
    public Vertex insertVertex(V o);
    public Edge insertEdge(Vertex v, Vertex w, E o);
    public V removeVertex(Vertex v);
    public E removeEdge(Edge e);
    public List> incidentEdges(Vertex v);
    public List> vertices();
    public List> edges();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy