⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basicdirectednode.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
 assumed that the edge being added has the node as its out node.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#addIn(org.geotools.graph.structure.DirectedEdge)">addIn</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - A directed edge that terminates at the node.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#addIn(org.geotools.graph.structure.DirectedEdge)"><CODE>DirectedNode.addIn(DirectedEdge)</CODE></A>, <A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html#getOutNode()"><CODE>DirectedEdge.getOutNode()</CODE></A></DL></DD></DL><HR><A NAME="addOut(org.geotools.graph.structure.DirectedEdge)"><!-- --></A><H3>addOut</H3><PRE>public void <B>addOut</B>(<A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A>&nbsp;e)</PRE><DL><DD>Adds an edge to the <B>ou</B> adjacency list of the node which is an  underlying List implementation. No checking is done on the edge  (duplication, looping...), it is simply added to the list. It is also assumed that the edge being added has the node as its in node.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#addOut(org.geotools.graph.structure.DirectedEdge)">addOut</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - A directed edge that originates from the node.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#addOut(org.geotools.graph.structure.DirectedEdge)"><CODE>DirectedNode.addOut(DirectedEdge)</CODE></A>, <A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html#getInNode()"><CODE>DirectedEdge.getInNode()</CODE></A></DL></DD></DL><HR><A NAME="remove(org.geotools.graph.structure.Edge)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(<A HREF="../../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A>&nbsp;e)</PRE><DL><DD>Removes the edge from both the in and out adjacency lists.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/Node.html#remove(org.geotools.graph.structure.Edge)">remove</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - Adjacent edge to remove.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/Node.html#remove(org.geotools.graph.structure.Edge)"><CODE>Node.remove(Edge)</CODE></A></DL></DD></DL><HR><A NAME="removeIn(org.geotools.graph.structure.DirectedEdge)"><!-- --></A><H3>removeIn</H3><PRE>public void <B>removeIn</B>(<A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A>&nbsp;e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></B></DD><DD>Removes an edge from the <B>in</B> adjacency list of the node.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#removeIn(org.geotools.graph.structure.DirectedEdge)">removeIn</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - A directed edge that terminates at the node.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#removeIn(org.geotools.graph.structure.DirectedEdge)"><CODE>DirectedNode.removeIn(DirectedEdge)</CODE></A></DL></DD></DL><HR><A NAME="removeOut(org.geotools.graph.structure.DirectedEdge)"><!-- --></A><H3>removeOut</H3><PRE>public void <B>removeOut</B>(<A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A>&nbsp;e)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></B></DD><DD>Removes an edge from the <B>out</B> adjacency list of node.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#removeOut(org.geotools.graph.structure.DirectedEdge)">removeOut</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - A directed edge that originates from the node.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#removeOut(org.geotools.graph.structure.DirectedEdge)"><CODE>DirectedNode.removeOut(DirectedEdge)</CODE></A></DL></DD></DL><HR><A NAME="getEdge(org.geotools.graph.structure.Node)"><!-- --></A><H3>getEdge</H3><PRE>public <A HREF="../../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A> <B>getEdge</B>(<A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A>&nbsp;other)</PRE><DL><DD>First searches for an in edge with an out node == this, and in  node == other. If none is found an edge with out node == other, and in  node == this is searched for.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/Node.html#getEdge(org.geotools.graph.structure.Node)">getEdge</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - The other node that the desired edge to return is adjacent to.<DT><B>Returns:</B><DD>The first edge that is found to be adjacent to the  specified node.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/Node.html#remove(org.geotools.graph.structure.Edge)"><CODE>Node.remove(Edge)</CODE></A></DL></DD></DL><HR><A NAME="getInEdge(org.geotools.graph.structure.DirectedNode)"><!-- --></A><H3>getInEdge</H3><PRE>public <A HREF="../../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A> <B>getInEdge</B>(<A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A>&nbsp;other)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></B></DD><DD>Returns an edge that terminates at the node and originates from a  specified node. <BR> <BR> Note: It is possible for two nodes to share multiple edges between them. In this case, getInEdges(Node other) can be used to obtain a complete list.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#getInEdge(org.geotools.graph.structure.DirectedNode)">getInEdge</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - The originating node.<DT><B>Returns:</B><DD>The first edge found to terminate at the node and originate from  the specefied node.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#getInEdge(org.geotools.graph.structure.DirectedNode)"><CODE>DirectedNode.getInEdge(DirectedNode)</CODE></A></DL></DD></DL><HR><A NAME="getOutEdge(org.geotools.graph.structure.DirectedNode)"><!-- --></A><H3>getOutEdge</H3><PRE>public <A HREF="../../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A> <B>getOutEdge</B>(<A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A>&nbsp;other)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></B></DD><DD>Returns an edge that originates at the node and terminates at a  specified node. <BR> <BR> Note: It is possible for two nodes to share multiple edges between them. In this case, getOutEdges(Node other) can be used to obtain a complete list.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#getOutEdge(org.geotools.graph.structure.DirectedNode)">getOutEdge</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - The terminating node.<DT><B>Returns:</B><DD>The first edge found to originate at the node and terminate at  the specefied node.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#getOutEdge(org.geotools.graph.structure.DirectedNode)"><CODE>DirectedNode.getOutEdge(DirectedNode)</CODE></A></DL></DD></DL><HR><A NAME="getEdges()"><!-- --></A><H3>getEdges</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getEdges</B>()</PRE><DL><DD>Returns the combination of both the in and out adjacecy lists.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/Node.html#getEdges()">getEdges</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A list containing all edges that are adjacent to the node.</DL></DD></DL><HR><A NAME="getInEdges()"><!-- --></A><H3>getInEdges</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getInEdges</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></B></DD><DD>Returns the <B>in</B> adjacency list of the node.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#getInEdges()">getInEdges</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A list of edges that terminate at the node.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#getInEdges()"><CODE>DirectedNode.getInEdges()</CODE></A></DL></DD></DL><HR><A NAME="getOutEdges()"><!-- --></A><H3>getOutEdges</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getOutEdges</B>()</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></B></DD><DD>Returns the <B>out</B> adjacency list of the node.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#getOutEdges()">getOutEdges</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html" title="interface in org.geotools.graph.structure">DirectedNode</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A list of edges originating at the node.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#getOutEdges()"><CODE>DirectedNode.getOutEdges()</CODE></A></DL></DD></DL><HR><A NAME="getEdges(org.geotools.graph.structure.Node)"><!-- --></A><H3>getEdges</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getEdges</B>(<A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A>&nbsp;other)</PRE><DL><DD>A combination of the results of getInEdges(Node) and getOutEdges(Node).<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/Node.html#getEdges(org.geotools.graph.structure.Node)">getEdges</A></CODE> in interface <CODE><A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>other</CODE> - The other node that the desired edges to return are  adjacent to.<DT><B>Returns:</B><DD>List of all edges that are found to be adjacent to the specified node.<DT><B>See Also:</B><DD><A HREF="../../../../../org/geotools/graph/structure/Node.html#getEdges(org.geotools.graph.structure.Node)"><CODE>Node.getEdges(Node)</CODE></A>, <A HREF="../../../../../org/geotools/graph/structure/DirectedNode.html#getInEdges(org.geotools.graph.structure.DirectedNode)"><CODE>DirectedNode.getInEdges(DirectedNode)</CODE></A>, 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -