📄 directednode.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc (build 1.4.2_13) on Tue Jun 05 11:36:40 GMT-05:00 2007 --><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><TITLE>DirectedNode (Geotools 2.3.x 2.3.2 API)</TITLE><META NAME="keywords" CONTENT="org.geotools.graph.structure.DirectedNode interface"><META NAME="keywords" CONTENT="addIn()"><META NAME="keywords" CONTENT="addOut()"><META NAME="keywords" CONTENT="removeIn()"><META NAME="keywords" CONTENT="removeOut()"><META NAME="keywords" CONTENT="getInEdge()"><META NAME="keywords" CONTENT="getInEdges()"><META NAME="keywords" CONTENT="getOutEdge()"><META NAME="keywords" CONTENT="getOutEdges()"><META NAME="keywords" CONTENT="getInDegree()"><META NAME="keywords" CONTENT="getOutDegree()"><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"><SCRIPT type="text/javascript">function windowTitle(){ parent.document.title="DirectedNode (Geotools 2.3.x 2.3.2 API)";}</SCRIPT></HEAD><BODY BGCOLOR="white" onload="windowTitle();"><!-- ========= START OF TOP NAVBAR ======= --><A NAME="navbar_top"><!-- --></A><A HREF="#skip-navbar_top" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_top_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DirectedNode.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/geotools/graph/structure/DirectedGraphable.html" title="interface in org.geotools.graph.structure"><B>PREV CLASS</B></A> <A HREF="../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="DirectedNode.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">org.geotools.graph.structure</FONT><BR>Interface DirectedNode</H2><DL><DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../org/geotools/graph/structure/DirectedGraphable.html" title="interface in org.geotools.graph.structure">DirectedGraphable</A>, <A HREF="../../../../org/geotools/graph/structure/Graphable.html" title="interface in org.geotools.graph.structure">Graphable</A>, <A HREF="../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A></DD></DL><DL><DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/geotools/graph/structure/basic/BasicDirectedNode.html" title="class in org.geotools.graph.structure.basic">BasicDirectedNode</A>, <A HREF="../../../../org/geotools/graph/structure/opt/OptDirectedNode.html" title="class in org.geotools.graph.structure.opt">OptDirectedNode</A></DD></DL><HR><DL><DT>public interface <B>DirectedNode</B><DT>extends <A HREF="../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A>, <A HREF="../../../../org/geotools/graph/structure/DirectedGraphable.html" title="interface in org.geotools.graph.structure">DirectedGraphable</A></DL><P>Represents a node in a directed graph. A directed node differentiates between adjacent edges that start at the node and those adjacent edges that terminate at the node. The former are referred to as "<B>in</B>" edges, and the latter "<B>out</B>" edges.<P><P><DL><DT><B>Author:</B></DT> <DD>Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net</DD><DT><B>See Also:</B><DD><A HREF="../../../../org/geotools/graph/structure/DirectedGraph.html" title="interface in org.geotools.graph.structure"><CODE>DirectedGraph</CODE></A><DT><B>Module:</B></DT><DD><CODE><B>ext/graph</B></CODE> (<A HREF="http://maven.geotools.fr/repository/org/geotools/gt2-graph/"><CODE>gt2-graph.jar</CODE></A>) (<A HREF="http://maven.geotools.fr/reports/graph/index.html">Maven report</A>) (<A HREF="http://svn.geotools.org/geotools/tags/2.3.2/ext/graph/src/org/geotools/graph/structure/DirectedNode.java">SVN head</A>)</DD></DL><HR><P><!-- ======== NESTED CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><!-- ======== CONSTRUCTOR SUMMARY ======== --><!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/graph/structure/DirectedNode.html#addIn(org.geotools.graph.structure.DirectedEdge)">addIn</A></B>(<A HREF="../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A> e)</CODE><BR> Adds an edge to the <B>in</B> adjacency list of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/graph/structure/DirectedNode.html#addOut(org.geotools.graph.structure.DirectedEdge)">addOut</A></B>(<A HREF="../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A> e)</CODE><BR> Adds an edge to the <B>out</B> adjacency list of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/graph/structure/DirectedNode.html#getInDegree()">getInDegree</A></B>()</CODE><BR> Returns the <B>in</B> degree of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/graph/structure/DirectedNode.html#getInEdge(org.geotools.graph.structure.DirectedNode)">getInEdge</A></B>(<A HREF="../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A> other)</CODE><BR> Returns an edge that terminates at the node and originates from a specified node. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/graph/structure/DirectedNode.html#getInEdges()">getInEdges</A></B>()</CODE><BR> Returns the <B>in</B> adjacency list of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/graph/structure/DirectedNode.html#getInEdges(org.geotools.graph.structure.DirectedNode)">getInEdges</A></B>(<A HREF="../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A> other)</CODE><BR> Returns all edges that terminate at the node and originate from a specified node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/graph/structure/DirectedNode.html#getOutDegree()">getOutDegree</A></B>()</CODE><BR> Returns the <B>out</B> degree of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/graph/structure/DirectedNode.html#getOutEdge(org.geotools.graph.structure.DirectedNode)">getOutEdge</A></B>(<A HREF="../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A> other)</CODE><BR> Returns an edge that originates at the node and terminates at a specified node. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/graph/structure/DirectedNode.html#getOutEdges()">getOutEdges</A></B>()</CODE><BR> Returns the <B>out</B> adjacency list of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/graph/structure/DirectedNode.html#getOutEdges(org.geotools.graph.structure.DirectedNode)">getOutEdges</A></B>(<A HREF="../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A> other)</CODE><BR> Returns all edges that originate at the node and terminate from at specified node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/graph/structure/DirectedNode.html#removeIn(org.geotools.graph.structure.DirectedEdge)">removeIn</A></B>(<A HREF="../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A> e)</CODE><BR> Removes an edge from the <B>in</B> adjacency list of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/geotools/graph/structure/DirectedNode.html#removeOut(org.geotools.graph.structure.DirectedEdge)">removeOut</A></B>(<A HREF="../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A> e)</CODE><BR> Removes an edge from the <B>out</B> adjacency list of node.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_Node"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/graph/structure/Node.html#add(org.geotools.graph.structure.Edge)">add</A>, <A HREF="../../../../org/geotools/graph/structure/Node.html#getDegree()">getDegree</A>, <A HREF="../../../../org/geotools/graph/structure/Node.html#getEdge(org.geotools.graph.structure.Node)">getEdge</A>, <A HREF="../../../../org/geotools/graph/structure/Node.html#getEdges()">getEdges</A>, <A HREF="../../../../org/geotools/graph/structure/Node.html#getEdges(org.geotools.graph.structure.Node)">getEdges</A>, <A HREF="../../../../org/geotools/graph/structure/Node.html#remove(org.geotools.graph.structure.Edge)">remove</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_Graphable"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../../org/geotools/graph/structure/Graphable.html" title="interface in org.geotools.graph.structure">Graphable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/graph/structure/Graphable.html#getCount()">getCount</A>, <A HREF="../../../../org/geotools/graph/structure/Graphable.html#getID()">getID</A>, <A HREF="../../../../org/geotools/graph/structure/Graphable.html#getObject()">getObject</A>, <A HREF="../../../../org/geotools/graph/structure/Graphable.html#getRelated()">getRelated</A>, <A HREF="../../../../org/geotools/graph/structure/Graphable.html#isVisited()">isVisited</A>, <A HREF="../../../../org/geotools/graph/structure/Graphable.html#setCount(int)">setCount</A>, <A HREF="../../../../org/geotools/graph/structure/Graphable.html#setID(int)">setID</A>, <A HREF="../../../../org/geotools/graph/structure/Graphable.html#setObject(java.lang.Object)">setObject</A>, <A HREF="../../../../org/geotools/graph/structure/Graphable.html#setVisited(boolean)">setVisited</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_DirectedGraphable"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from interface <A HREF="../../../../org/geotools/graph/structure/DirectedGraphable.html" title="interface in org.geotools.graph.structure">DirectedGraphable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../org/geotools/graph/structure/DirectedGraphable.html#getInRelated()">getInRelated</A>, <A HREF="../../../../org/geotools/graph/structure/DirectedGraphable.html#getOutRelated()">getOutRelated</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -