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

📄 optdirectednode.html

📁 Geotools是一个开源的Java GIS工具包,可利用它来开发符合标准的地理信息系统。Geotools提供了OGC(Open Geospatial Consortium)规范的一个实现来作为他们的
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<CODE>&nbsp;<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/opt/OptDirectedNode.html#getEdges(org.geotools.graph.structure.Node)">getEdges</A></B>(<A HREF="../../../../../org/geotools/graph/structure/Node.html" title="interface in org.geotools.graph.structure">Node</A>&nbsp;other)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a collection of edges in the adjacency list of the node that are  adjacent to another specified node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/opt/OptDirectedNode.html#getInDegree()">getInDegree</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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/opt/OptDirectedNode.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>&nbsp;other)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/opt/OptDirectedNode.html#getInEdgeArray()">getInEdgeArray</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the in adjacency edge array of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/opt/OptDirectedNode.html#getInEdges()">getInEdges</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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/opt/OptDirectedNode.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>&nbsp;other)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/opt/OptDirectedNode.html#getInRelated()">getInRelated</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This iterator iterates over the underlying in edge array of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/opt/OptDirectedNode.html#getOutDegree()">getOutDegree</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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/opt/OptDirectedNode.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>&nbsp;other)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/opt/OptDirectedNode.html#getOutEdgeArray()">getOutEdgeArray</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the out adjacency edge array of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<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/opt/OptDirectedNode.html#getOutEdges()">getOutEdges</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<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/opt/OptDirectedNode.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>&nbsp;other)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/opt/OptDirectedNode.html#getOutRelated()">getOutRelated</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This iterator iterates over the underlying out edge array of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Iterator.html" title="class or interface in java.util">Iterator</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/opt/OptDirectedNode.html#getRelated()">getRelated</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This iterator iterates over the underlying edge arrays of the node.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/opt/OptDirectedNode.html#remove(org.geotools.graph.structure.Edge)">remove</A></B>(<A HREF="../../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unsupported Operation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/opt/OptDirectedNode.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>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unsupported Operation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/opt/OptDirectedNode.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>&nbsp;e)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unsupported Operation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/opt/OptDirectedNode.html#setInDegree(int)">setInDegree</A></B>(int&nbsp;indegree)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the in degree of the node. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../org/geotools/graph/structure/opt/OptDirectedNode.html#setOutDegree(int)">setOutDegree</A></B>(int&nbsp;outdegree)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the out degree of the node. </TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_OptGraphable"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="../../../../../org/geotools/graph/structure/opt/OptGraphable.html" title="class in org.geotools.graph.structure.opt">OptGraphable</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../org/geotools/graph/structure/opt/OptGraphable.html#getCount()">getCount</A>, <A HREF="../../../../../org/geotools/graph/structure/opt/OptGraphable.html#getID()">getID</A>, <A HREF="../../../../../org/geotools/graph/structure/opt/OptGraphable.html#getObject()">getObject</A>, <A HREF="../../../../../org/geotools/graph/structure/opt/OptGraphable.html#isVisited()">isVisited</A>, <A HREF="../../../../../org/geotools/graph/structure/opt/OptGraphable.html#setCount(int)">setCount</A>, <A HREF="../../../../../org/geotools/graph/structure/opt/OptGraphable.html#setID(int)">setID</A>, <A HREF="../../../../../org/geotools/graph/structure/opt/OptGraphable.html#setObject(java.lang.Object)">setObject</A>, <A HREF="../../../../../org/geotools/graph/structure/opt/OptGraphable.html#setVisited(boolean)">setVisited</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD></TR></TABLE>&nbsp;<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#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>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="OptDirectedNode()"><!-- --></A><H3>OptDirectedNode</H3><PRE>public <B>OptDirectedNode</B>()</PRE><DL><DD>Constructs a new OptDirectedNode. This constructor does not create  the edge adjacency arrays for the node.<P></DL><HR><A NAME="OptDirectedNode(int, int)"><!-- --></A><H3>OptDirectedNode</H3><PRE>public <B>OptDirectedNode</B>(int&nbsp;indegree,                       int&nbsp;outdegree)</PRE><DL><DD>Constructs a new OptDirectedNode.<P><DT><B>Parameters:</B><DD><CODE>indegree</CODE> - Number of in adjacenct edges to the node.<DD><CODE>outdegree</CODE> - Number of out adjacent edges to the node.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="add(org.geotools.graph.structure.Edge)"><!-- --></A><H3>add</H3><PRE>public void <B>add</B>(<A HREF="../../../../../org/geotools/graph/structure/Edge.html" title="interface in org.geotools.graph.structure">Edge</A>&nbsp;e)</PRE><DL><DD>Not supported.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/geotools/graph/structure/Node.html#add(org.geotools.graph.structure.Edge)">add</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 add.<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/UnsupportedOperationException.html" title="class or interface in java.lang">UnsupportedOperationException</A></CODE></DL></DD></DL><HR><A NAME="addIn(org.geotools.graph.structure.DirectedEdge)"><!-- --></A><H3>addIn</H3><PRE>public void <B>addIn</B>(<A HREF="../../../../../org/geotools/graph/structure/DirectedEdge.html" title="interface in org.geotools.graph.structure">DirectedEdge</A>&nbsp;e)</PRE><DL>

⌨️ 快捷键说明

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