1036 lines
76 KiB
HTML
1036 lines
76 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
|
<!--NewPage-->
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE>
|
||
|
LinkedUndirectedGraph (Compiler)
|
||
|
</TITLE>
|
||
|
|
||
|
|
||
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../dev_javadoc.css" TITLE="Style">
|
||
|
|
||
|
<SCRIPT type="text/javascript">
|
||
|
function windowTitle()
|
||
|
{
|
||
|
if (location.href.indexOf('is-external=true') == -1) {
|
||
|
parent.document.title="LinkedUndirectedGraph (Compiler)";
|
||
|
}
|
||
|
}
|
||
|
</SCRIPT>
|
||
|
<NOSCRIPT>
|
||
|
</NOSCRIPT>
|
||
|
|
||
|
</HEAD>
|
||
|
|
||
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
||
|
<HR>
|
||
|
|
||
|
|
||
|
<!-- ========= 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=2 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="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="../../../../../com/google/javascript/jscomp/graph/LinkedDirectedGraph.html" title="class in com.google.javascript.jscomp.graph"><B>PREV CLASS</B></A>
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/StandardUnionFind.html" title="class in com.google.javascript.jscomp.graph"><B>NEXT CLASS</B></A></FONT></TD>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../../../../index.html?com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" target="_top"><B>FRAMES</B></A>
|
||
|
<A HREF="LinkedUndirectedGraph.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: <A HREF="#nested_classes_inherited_from_class_com.google.javascript.jscomp.graph.UndiGraph">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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">
|
||
|
com.google.javascript.jscomp.graph</FONT>
|
||
|
<BR>
|
||
|
Class LinkedUndirectedGraph<N,E></H2>
|
||
|
<PRE>
|
||
|
<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
||
|
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">com.google.javascript.jscomp.graph.Graph</A><N,E>
|
||
|
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.html" title="class in com.google.javascript.jscomp.graph">com.google.javascript.jscomp.graph.UndiGraph</A><N,E>
|
||
|
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.google.javascript.jscomp.graph.LinkedUndirectedGraph<N,E></B>
|
||
|
</PRE>
|
||
|
<DL>
|
||
|
<DT><DT><B>Type Parameters:</B><DD><CODE>N</CODE> - Value type that the graph node stores.<DD><CODE>E</CODE> - Value type that the graph edge stores.</DL>
|
||
|
<DL>
|
||
|
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../com/google/javascript/jscomp/graph/AdjacencyGraph.html" title="interface in com.google.javascript.jscomp.graph">AdjacencyGraph</A><N,E>, <A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html" title="interface in com.google.javascript.jscomp.graph">GraphvizGraph</A></DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
<DL>
|
||
|
<DT><PRE>public class <B>LinkedUndirectedGraph<N,E></B><DT>extends <A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.html" title="class in com.google.javascript.jscomp.graph">UndiGraph</A><N,E><DT>implements <A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html" title="interface in com.google.javascript.jscomp.graph">GraphvizGraph</A></DL>
|
||
|
</PRE>
|
||
|
|
||
|
<P>
|
||
|
An undirected graph using linked list within nodes to store edge
|
||
|
information.
|
||
|
<P>
|
||
|
|
||
|
<P>
|
||
|
<HR>
|
||
|
|
||
|
<P>
|
||
|
<!-- ======== NESTED CLASS SUMMARY ======== -->
|
||
|
|
||
|
<A NAME="nested_class_summary"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||
|
<B>Nested Class Summary</B></FONT></TH>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="nested_classes_inherited_from_class_com.google.javascript.jscomp.graph.UndiGraph"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
|
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.google.javascript.jscomp.graph.<A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.html" title="class in com.google.javascript.jscomp.graph">UndiGraph</A></B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.UndiGraphEdge.html" title="interface in com.google.javascript.jscomp.graph">UndiGraph.UndiGraphEdge</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.UndiGraphEdge.html" title="type parameter in UndiGraph.UndiGraphEdge">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.UndiGraphEdge.html" title="type parameter in UndiGraph.UndiGraphEdge">E</A>>, <A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.UndiGraphNode.html" title="interface in com.google.javascript.jscomp.graph">UndiGraph.UndiGraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.UndiGraphNode.html" title="type parameter in UndiGraph.UndiGraphNode">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.UndiGraphNode.html" title="type parameter in UndiGraph.UndiGraphNode">E</A>></CODE></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<A NAME="nested_classes_inherited_from_class_com.google.javascript.jscomp.graph.Graph"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
|
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.google.javascript.jscomp.graph.<A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">Graph</A></B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.GraphEdge.html" title="interface in com.google.javascript.jscomp.graph">Graph.GraphEdge</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.GraphEdge.html" title="type parameter in Graph.GraphEdge">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.GraphEdge.html" title="type parameter in Graph.GraphEdge">E</A>></CODE></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<A NAME="nested_classes_inherited_from_class_com.google.javascript.jscomp.graph.GraphvizGraph"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
|
<TH ALIGN="left"><B>Nested classes/interfaces inherited from interface com.google.javascript.jscomp.graph.<A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html" title="interface in com.google.javascript.jscomp.graph">GraphvizGraph</A></B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.GraphvizEdge.html" title="interface in com.google.javascript.jscomp.graph">GraphvizGraph.GraphvizEdge</A>, <A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.GraphvizNode.html" title="interface in com.google.javascript.jscomp.graph">GraphvizGraph.GraphvizNode</A></CODE></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<!-- =========== FIELD SUMMARY =========== -->
|
||
|
|
||
|
<A NAME="field_summary"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||
|
<B>Field Summary</B></FONT></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>protected <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,com.google.javascript.jscomp.graph.LinkedUndirectedGraph.LinkedUndirectedGraphNode<<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#nodes">nodes</A></B></CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
|
|
||
|
<A NAME="constructor_summary"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||
|
<B>Constructor Summary</B></FONT></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>protected </CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#LinkedUndirectedGraph(boolean, boolean)">LinkedUndirectedGraph</A></B>(boolean useNodeAnnotations,
|
||
|
boolean useEdgeAnnotations)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<!-- ========== METHOD SUMMARY =========== -->
|
||
|
|
||
|
<A NAME="method_summary"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
||
|
<B>Method Summary</B></FONT></TH>
|
||
|
</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="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#connect(N, E, N)">connect</A></B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> srcValue,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A> edgeValue,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> destValue)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Connects two nodes in the graph with an edge.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>static
|
||
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
|
||
|
<TR ALIGN="right" VALIGN="">
|
||
|
<TD NOWRAP><FONT SIZE="-1">
|
||
|
<CODE><N,E> <A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="class in com.google.javascript.jscomp.graph">LinkedUndirectedGraph</A><N,E></CODE></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#create()">create</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="../../../../../com/google/javascript/jscomp/graph/GraphNode.html" title="interface in com.google.javascript.jscomp.graph">GraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#createNode(N)">createNode</A></B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> value)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Gets a node from the graph given a value.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.UndiGraphNode.html" title="interface in com.google.javascript.jscomp.graph">UndiGraph.UndiGraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#createUndirectedGraphNode(N)">createUndirectedGraphNode</A></B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> nodeValue)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>static
|
||
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
|
||
|
<TR ALIGN="right" VALIGN="">
|
||
|
<TD NOWRAP><FONT SIZE="-1">
|
||
|
<CODE><N,E> <A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="class in com.google.javascript.jscomp.graph">LinkedUndirectedGraph</A><N,E></CODE></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#createWithEdgeAnnotations()">createWithEdgeAnnotations</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>static
|
||
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
|
||
|
<TR ALIGN="right" VALIGN="">
|
||
|
<TD NOWRAP><FONT SIZE="-1">
|
||
|
<CODE><N,E> <A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="class in com.google.javascript.jscomp.graph">LinkedUndirectedGraph</A><N,E></CODE></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#createWithNodeAnnotations()">createWithNodeAnnotations</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE>static
|
||
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
|
||
|
<TR ALIGN="right" VALIGN="">
|
||
|
<TD NOWRAP><FONT SIZE="-1">
|
||
|
<CODE><N,E> <A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="class in com.google.javascript.jscomp.graph">LinkedUndirectedGraph</A><N,E></CODE></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#createWithoutAnnotations()">createWithoutAnnotations</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
</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="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#disconnect(N, N)">disconnect</A></B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> srcValue,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> destValue)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Disconnects two nodes in the graph by removing all edges between them.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.GraphEdge.html" title="interface in com.google.javascript.jscomp.graph">Graph.GraphEdge</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#getEdges()">getEdges</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Gets an immutable list of all edges.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.GraphEdge.html" title="interface in com.google.javascript.jscomp.graph">Graph.GraphEdge</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#getEdges(N, N)">getEdges</A></B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n1,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n2)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Retrieves an edge from the graph.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.GraphEdge.html" title="interface in com.google.javascript.jscomp.graph">Graph.GraphEdge</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#getFirstEdge(N, N)">getFirstEdge</A></B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n1,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n2)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Retrieves any edge from the graph.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.GraphvizEdge.html" title="interface in com.google.javascript.jscomp.graph">GraphvizGraph.GraphvizEdge</A>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#getGraphvizEdges()">getGraphvizEdges</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Retrieve a list of edges in the graph.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.GraphvizNode.html" title="interface in com.google.javascript.jscomp.graph">GraphvizGraph.GraphvizNode</A>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#getGraphvizNodes()">getGraphvizNodes</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Retrieve a list of nodes in the graph.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#getName()">getName</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Name of the graph.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/GraphNode.html" title="interface in com.google.javascript.jscomp.graph">GraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#getNeighborNodes(N)">getNeighborNodes</A></B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> value)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Gets the neighboring nodes.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/GraphNode.html" title="interface in com.google.javascript.jscomp.graph">GraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#getNeighborNodesIterator(N)">getNeighborNodesIterator</A></B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> value)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="../../../../../com/google/javascript/jscomp/graph/GraphNode.html" title="interface in com.google.javascript.jscomp.graph">GraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#getNode(N)">getNode</A></B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> value)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Gets a node from the graph given a value.</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="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#getNodeDegree(N)">getNodeDegree</A></B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> value)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Gets the degree of a 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/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/GraphNode.html" title="interface in com.google.javascript.jscomp.graph">GraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#getNodes()">getNodes</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Gets an immutable list of all nodes.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.UndiGraphEdge.html" title="interface in com.google.javascript.jscomp.graph">UndiGraph.UndiGraphEdge</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#getUndirectedGraphEdges(N, N)">getUndirectedGraphEdges</A></B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n1,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n2)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.UndiGraphNode.html" title="interface in com.google.javascript.jscomp.graph">UndiGraph.UndiGraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#getUndirectedGraphNode(N)">getUndirectedGraphNode</A></B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> nodeValue)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.UndiGraphNode.html" title="interface in com.google.javascript.jscomp.graph">UndiGraph.UndiGraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#getUndirectedGraphNodes()">getUndirectedGraphNodes</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Gets an immutable collection of all the nodes in this graph.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> boolean</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#isConnected(N, E, N)">isConnected</A></B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n1,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A> e,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n2)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Checks whether two nodes in the graph are connected by the given
|
||
|
edge type.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> boolean</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#isConnected(N, N)">isConnected</A></B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n1,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n2)</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Checks whether two nodes in the graph are connected.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> boolean</CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#isDirected()">isDirected</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Graph type.</TD>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
||
|
<CODE> <A HREF="../../../../../com/google/javascript/jscomp/graph/SubGraph.html" title="interface in com.google.javascript.jscomp.graph">SubGraph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></FONT></TD>
|
||
|
<TD><CODE><B><A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html#newSubGraph()">newSubGraph</A></B>()</CODE>
|
||
|
|
||
|
<BR>
|
||
|
Returns an empty SubGraph for this Graph.</TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="methods_inherited_from_class_com.google.javascript.jscomp.graph.Graph"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
|
<TH ALIGN="left"><B>Methods inherited from class com.google.javascript.jscomp.graph.<A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">Graph</A></B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#clearEdgeAnnotations()">clearEdgeAnnotations</A>, <A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#clearNodeAnnotations()">clearNodeAnnotations</A>, <A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#connectIfNotFound(N, E, N)">connectIfNotFound</A>, <A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#getWeight(N)">getWeight</A>, <A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#hasNode(N)">hasNode</A>, <A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#popEdgeAnnotations()">popEdgeAnnotations</A>, <A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#popNodeAnnotations()">popNodeAnnotations</A>, <A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#pushEdgeAnnotations()">pushEdgeAnnotations</A>, <A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#pushNodeAnnotations()">pushNodeAnnotations</A></CODE></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
||
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
||
|
</TR>
|
||
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
||
|
<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<P>
|
||
|
|
||
|
<!-- ============ FIELD DETAIL =========== -->
|
||
|
|
||
|
<A NAME="field_detail"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||
|
<B>Field Detail</B></FONT></TH>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<A NAME="nodes"><!-- --></A><H3>
|
||
|
nodes</H3>
|
||
|
<PRE>
|
||
|
protected final <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,com.google.javascript.jscomp.graph.LinkedUndirectedGraph.LinkedUndirectedGraphNode<<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>> <B>nodes</B></PRE>
|
||
|
<DL>
|
||
|
<DL>
|
||
|
</DL>
|
||
|
</DL>
|
||
|
|
||
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
|
|
||
|
<A NAME="constructor_detail"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||
|
<B>Constructor Detail</B></FONT></TH>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<A NAME="LinkedUndirectedGraph(boolean, boolean)"><!-- --></A><H3>
|
||
|
LinkedUndirectedGraph</H3>
|
||
|
<PRE>
|
||
|
protected <B>LinkedUndirectedGraph</B>(boolean useNodeAnnotations,
|
||
|
boolean useEdgeAnnotations)</PRE>
|
||
|
<DL>
|
||
|
</DL>
|
||
|
|
||
|
<!-- ============ METHOD DETAIL ========== -->
|
||
|
|
||
|
<A NAME="method_detail"><!-- --></A>
|
||
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
||
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
||
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
||
|
<B>Method Detail</B></FONT></TH>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
|
||
|
<A NAME="newSubGraph()"><!-- --></A><H3>
|
||
|
newSubGraph</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="../../../../../com/google/javascript/jscomp/graph/SubGraph.html" title="interface in com.google.javascript.jscomp.graph">SubGraph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>> <B>newSubGraph</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/AdjacencyGraph.html#newSubGraph()">AdjacencyGraph</A></CODE></B></DD>
|
||
|
<DD>Returns an empty SubGraph for this Graph.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/AdjacencyGraph.html#newSubGraph()">newSubGraph</A></CODE> in interface <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/AdjacencyGraph.html" title="interface in com.google.javascript.jscomp.graph">AdjacencyGraph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="createWithoutAnnotations()"><!-- --></A><H3>
|
||
|
createWithoutAnnotations</H3>
|
||
|
<PRE>
|
||
|
public static <N,E> <A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="class in com.google.javascript.jscomp.graph">LinkedUndirectedGraph</A><N,E> <B>createWithoutAnnotations</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="createWithNodeAnnotations()"><!-- --></A><H3>
|
||
|
createWithNodeAnnotations</H3>
|
||
|
<PRE>
|
||
|
public static <N,E> <A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="class in com.google.javascript.jscomp.graph">LinkedUndirectedGraph</A><N,E> <B>createWithNodeAnnotations</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="createWithEdgeAnnotations()"><!-- --></A><H3>
|
||
|
createWithEdgeAnnotations</H3>
|
||
|
<PRE>
|
||
|
public static <N,E> <A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="class in com.google.javascript.jscomp.graph">LinkedUndirectedGraph</A><N,E> <B>createWithEdgeAnnotations</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="create()"><!-- --></A><H3>
|
||
|
create</H3>
|
||
|
<PRE>
|
||
|
public static <N,E> <A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="class in com.google.javascript.jscomp.graph">LinkedUndirectedGraph</A><N,E> <B>create</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="connect(java.lang.Object,java.lang.Object,java.lang.Object)"><!-- --></A><A NAME="connect(N, E, N)"><!-- --></A><H3>
|
||
|
connect</H3>
|
||
|
<PRE>
|
||
|
public void <B>connect</B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> srcValue,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A> edgeValue,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> destValue)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#connect(N, E, N)">Graph</A></CODE></B></DD>
|
||
|
<DD>Connects two nodes in the graph with an edge.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#connect(N, E, N)">connect</A></CODE> in class <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">Graph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>srcValue</CODE> - First node.<DD><CODE>edgeValue</CODE> - The edge.<DD><CODE>destValue</CODE> - Second node.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="disconnect(java.lang.Object,java.lang.Object)"><!-- --></A><A NAME="disconnect(N, N)"><!-- --></A><H3>
|
||
|
disconnect</H3>
|
||
|
<PRE>
|
||
|
public void <B>disconnect</B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> srcValue,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> destValue)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#disconnect(N, N)">Graph</A></CODE></B></DD>
|
||
|
<DD>Disconnects two nodes in the graph by removing all edges between them.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#disconnect(N, N)">disconnect</A></CODE> in class <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">Graph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>srcValue</CODE> - First node.<DD><CODE>destValue</CODE> - Second node.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="createUndirectedGraphNode(java.lang.Object)"><!-- --></A><A NAME="createUndirectedGraphNode(N)"><!-- --></A><H3>
|
||
|
createUndirectedGraphNode</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.UndiGraphNode.html" title="interface in com.google.javascript.jscomp.graph">UndiGraph.UndiGraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>> <B>createUndirectedGraphNode</B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> nodeValue)</PRE>
|
||
|
<DL>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="getNeighborNodes(java.lang.Object)"><!-- --></A><A NAME="getNeighborNodes(N)"><!-- --></A><H3>
|
||
|
getNeighborNodes</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/GraphNode.html" title="interface in com.google.javascript.jscomp.graph">GraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>> <B>getNeighborNodes</B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> value)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#getNeighborNodes(N)">Graph</A></CODE></B></DD>
|
||
|
<DD>Gets the neighboring nodes.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#getNeighborNodes(N)">getNeighborNodes</A></CODE> in class <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">Graph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The node's value.
|
||
|
<DT><B>Returns:</B><DD>A list of neighboring nodes.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="getNeighborNodesIterator(java.lang.Object)"><!-- --></A><A NAME="getNeighborNodesIterator(N)"><!-- --></A><H3>
|
||
|
getNeighborNodesIterator</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/GraphNode.html" title="interface in com.google.javascript.jscomp.graph">GraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>> <B>getNeighborNodesIterator</B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> value)</PRE>
|
||
|
<DL>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#getNeighborNodesIterator(N)">getNeighborNodesIterator</A></CODE> in class <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">Graph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="getUndirectedGraphEdges(java.lang.Object,java.lang.Object)"><!-- --></A><A NAME="getUndirectedGraphEdges(N, N)"><!-- --></A><H3>
|
||
|
getUndirectedGraphEdges</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.UndiGraphEdge.html" title="interface in com.google.javascript.jscomp.graph">UndiGraph.UndiGraphEdge</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>> <B>getUndirectedGraphEdges</B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n1,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n2)</PRE>
|
||
|
<DL>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="getUndirectedGraphNode(java.lang.Object)"><!-- --></A><A NAME="getUndirectedGraphNode(N)"><!-- --></A><H3>
|
||
|
getUndirectedGraphNode</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.UndiGraphNode.html" title="interface in com.google.javascript.jscomp.graph">UndiGraph.UndiGraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>> <B>getUndirectedGraphNode</B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> nodeValue)</PRE>
|
||
|
<DL>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.html#getUndirectedGraphNode(N)">getUndirectedGraphNode</A></CODE> in class <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.html" title="class in com.google.javascript.jscomp.graph">UndiGraph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="getUndirectedGraphNodes()"><!-- --></A><H3>
|
||
|
getUndirectedGraphNodes</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.UndiGraphNode.html" title="interface in com.google.javascript.jscomp.graph">UndiGraph.UndiGraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>> <B>getUndirectedGraphNodes</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/UndiGraph.html#getUndirectedGraphNodes()">UndiGraph</A></CODE></B></DD>
|
||
|
<DD>Gets an immutable collection of all the nodes in this graph.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="createNode(java.lang.Object)"><!-- --></A><A NAME="createNode(N)"><!-- --></A><H3>
|
||
|
createNode</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="../../../../../com/google/javascript/jscomp/graph/GraphNode.html" title="interface in com.google.javascript.jscomp.graph">GraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>> <B>createNode</B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> value)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#createNode(N)">Graph</A></CODE></B></DD>
|
||
|
<DD>Gets a node from the graph given a value. New nodes are created if that
|
||
|
value has not been assigned a graph node. Values equality are compared
|
||
|
using <code>Object.equals</code>.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#createNode(N)">createNode</A></CODE> in class <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">Graph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The node's value.
|
||
|
<DT><B>Returns:</B><DD>The corresponding node in the graph.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="getEdges(java.lang.Object,java.lang.Object)"><!-- --></A><A NAME="getEdges(N, N)"><!-- --></A><H3>
|
||
|
getEdges</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.GraphEdge.html" title="interface in com.google.javascript.jscomp.graph">Graph.GraphEdge</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>> <B>getEdges</B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n1,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n2)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#getEdges(N, N)">Graph</A></CODE></B></DD>
|
||
|
<DD>Retrieves an edge from the graph.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#getEdges(N, N)">getEdges</A></CODE> in class <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">Graph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>n1</CODE> - Node one.<DD><CODE>n2</CODE> - Node two.
|
||
|
<DT><B>Returns:</B><DD>The list of edges between those two values in the graph.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="getFirstEdge(java.lang.Object,java.lang.Object)"><!-- --></A><A NAME="getFirstEdge(N, N)"><!-- --></A><H3>
|
||
|
getFirstEdge</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.GraphEdge.html" title="interface in com.google.javascript.jscomp.graph">Graph.GraphEdge</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>> <B>getFirstEdge</B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n1,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n2)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#getFirstEdge(N, N)">Graph</A></CODE></B></DD>
|
||
|
<DD>Retrieves any edge from the graph.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#getFirstEdge(N, N)">getFirstEdge</A></CODE> in class <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">Graph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>n1</CODE> - Node one.<DD><CODE>n2</CODE> - Node two.
|
||
|
<DT><B>Returns:</B><DD>The first edges between those two values in the graph. null if
|
||
|
there are none.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="getNode(java.lang.Object)"><!-- --></A><A NAME="getNode(N)"><!-- --></A><H3>
|
||
|
getNode</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="../../../../../com/google/javascript/jscomp/graph/GraphNode.html" title="interface in com.google.javascript.jscomp.graph">GraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>> <B>getNode</B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> value)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/AdjacencyGraph.html#getNode(N)">AdjacencyGraph</A></CODE></B></DD>
|
||
|
<DD>Gets a node from the graph given a value. Values equality are compared
|
||
|
using <code>Object.equals</code>.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/AdjacencyGraph.html#getNode(N)">getNode</A></CODE> in interface <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/AdjacencyGraph.html" title="interface in com.google.javascript.jscomp.graph">AdjacencyGraph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The node's value.
|
||
|
<DT><B>Returns:</B><DD>The corresponding node in the graph, null if there value has no
|
||
|
corresponding node.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="isConnected(java.lang.Object,java.lang.Object)"><!-- --></A><A NAME="isConnected(N, N)"><!-- --></A><H3>
|
||
|
isConnected</H3>
|
||
|
<PRE>
|
||
|
public boolean <B>isConnected</B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n1,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n2)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#isConnected(N, N)">Graph</A></CODE></B></DD>
|
||
|
<DD>Checks whether two nodes in the graph are connected.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#isConnected(N, N)">isConnected</A></CODE> in class <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">Graph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>n1</CODE> - Node 1.<DD><CODE>n2</CODE> - Node 2.
|
||
|
<DT><B>Returns:</B><DD><code>true</code> if the two nodes are connected.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="isConnected(java.lang.Object,java.lang.Object,java.lang.Object)"><!-- --></A><A NAME="isConnected(N, E, N)"><!-- --></A><H3>
|
||
|
isConnected</H3>
|
||
|
<PRE>
|
||
|
public boolean <B>isConnected</B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n1,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A> e,
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> n2)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#isConnected(N, E, N)">Graph</A></CODE></B></DD>
|
||
|
<DD>Checks whether two nodes in the graph are connected by the given
|
||
|
edge type.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#isConnected(N, E, N)">isConnected</A></CODE> in class <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">Graph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>n1</CODE> - Node 1.<DD><CODE>e</CODE> - The edge type.<DD><CODE>n2</CODE> - Node 2.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="getGraphvizEdges()"><!-- --></A><H3>
|
||
|
getGraphvizEdges</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.GraphvizEdge.html" title="interface in com.google.javascript.jscomp.graph">GraphvizGraph.GraphvizEdge</A>> <B>getGraphvizEdges</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html#getGraphvizEdges()">GraphvizGraph</A></CODE></B></DD>
|
||
|
<DD>Retrieve a list of edges in the graph.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html#getGraphvizEdges()">getGraphvizEdges</A></CODE> in interface <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html" title="interface in com.google.javascript.jscomp.graph">GraphvizGraph</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
|
||
|
<DT><B>Returns:</B><DD>A list of edges in the graph.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="getName()"><!-- --></A><H3>
|
||
|
getName</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html#getName()">GraphvizGraph</A></CODE></B></DD>
|
||
|
<DD>Name of the graph.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html#getName()">getName</A></CODE> in interface <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html" title="interface in com.google.javascript.jscomp.graph">GraphvizGraph</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
|
||
|
<DT><B>Returns:</B><DD>Name of the graph.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="getGraphvizNodes()"><!-- --></A><H3>
|
||
|
getGraphvizNodes</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.GraphvizNode.html" title="interface in com.google.javascript.jscomp.graph">GraphvizGraph.GraphvizNode</A>> <B>getGraphvizNodes</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html#getGraphvizNodes()">GraphvizGraph</A></CODE></B></DD>
|
||
|
<DD>Retrieve a list of nodes in the graph.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html#getGraphvizNodes()">getGraphvizNodes</A></CODE> in interface <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html" title="interface in com.google.javascript.jscomp.graph">GraphvizGraph</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
|
||
|
<DT><B>Returns:</B><DD>A list of nodes in the graph.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="isDirected()"><!-- --></A><H3>
|
||
|
isDirected</H3>
|
||
|
<PRE>
|
||
|
public boolean <B>isDirected</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html#isDirected()">GraphvizGraph</A></CODE></B></DD>
|
||
|
<DD>Graph type.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html#isDirected()">isDirected</A></CODE> in interface <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/GraphvizGraph.html" title="interface in com.google.javascript.jscomp.graph">GraphvizGraph</A></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
|
||
|
<DT><B>Returns:</B><DD>True if the graph is a directed graph.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="getNodes()"><!-- --></A><H3>
|
||
|
getNodes</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/GraphNode.html" title="interface in com.google.javascript.jscomp.graph">GraphNode</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>> <B>getNodes</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#getNodes()">Graph</A></CODE></B></DD>
|
||
|
<DD>Gets an immutable list of all nodes.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/AdjacencyGraph.html#getNodes()">getNodes</A></CODE> in interface <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/AdjacencyGraph.html" title="interface in com.google.javascript.jscomp.graph">AdjacencyGraph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#getNodes()">getNodes</A></CODE> in class <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">Graph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="getEdges()"><!-- --></A><H3>
|
||
|
getEdges</H3>
|
||
|
<PRE>
|
||
|
public <A HREF="http://java.sun.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.GraphEdge.html" title="interface in com.google.javascript.jscomp.graph">Graph.GraphEdge</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>>> <B>getEdges</B>()</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#getEdges()">Graph</A></CODE></B></DD>
|
||
|
<DD>Gets an immutable list of all edges.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#getEdges()">getEdges</A></CODE> in class <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">Graph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<HR>
|
||
|
|
||
|
<A NAME="getNodeDegree(java.lang.Object)"><!-- --></A><A NAME="getNodeDegree(N)"><!-- --></A><H3>
|
||
|
getNodeDegree</H3>
|
||
|
<PRE>
|
||
|
public int <B>getNodeDegree</B>(<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A> value)</PRE>
|
||
|
<DL>
|
||
|
<DD><B>Description copied from class: <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#getNodeDegree(N)">Graph</A></CODE></B></DD>
|
||
|
<DD>Gets the degree of a node.
|
||
|
<P>
|
||
|
<DD><DL>
|
||
|
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html#getNodeDegree(N)">getNodeDegree</A></CODE> in class <CODE><A HREF="../../../../../com/google/javascript/jscomp/graph/Graph.html" title="class in com.google.javascript.jscomp.graph">Graph</A><<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">N</A>,<A HREF="../../../../../com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" title="type parameter in LinkedUndirectedGraph">E</A>></CODE></DL>
|
||
|
</DD>
|
||
|
<DD><DL>
|
||
|
<DT><B>Parameters:</B><DD><CODE>value</CODE> - The node's value.
|
||
|
<DT><B>Returns:</B><DD>The degree of the node.</DL>
|
||
|
</DD>
|
||
|
</DL>
|
||
|
<!-- ========= END OF CLASS DATA ========= -->
|
||
|
<HR>
|
||
|
|
||
|
|
||
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||
|
<A NAME="navbar_bottom"><!-- --></A>
|
||
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
||
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
||
|
<TR>
|
||
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
||
|
<A NAME="navbar_bottom_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="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="../../../../../com/google/javascript/jscomp/graph/LinkedDirectedGraph.html" title="class in com.google.javascript.jscomp.graph"><B>PREV CLASS</B></A>
|
||
|
<A HREF="../../../../../com/google/javascript/jscomp/graph/StandardUnionFind.html" title="class in com.google.javascript.jscomp.graph"><B>NEXT CLASS</B></A></FONT></TD>
|
||
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
||
|
<A HREF="../../../../../index.html?com/google/javascript/jscomp/graph/LinkedUndirectedGraph.html" target="_top"><B>FRAMES</B></A>
|
||
|
<A HREF="LinkedUndirectedGraph.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: <A HREF="#nested_classes_inherited_from_class_com.google.javascript.jscomp.graph.UndiGraph">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
||
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
||
|
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
||
|
</TR>
|
||
|
</TABLE>
|
||
|
<A NAME="skip-navbar_bottom"></A>
|
||
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
|
|
||
|
<HR>
|
||
|
|
||
|
<div id="footer">
|
||
|
<div id="footerlogo">
|
||
|
<img src="http://www.google.com/images/art.gif"
|
||
|
alt="Google colored balls">
|
||
|
</div>
|
||
|
|
||
|
<div id="copyright">
|
||
|
<p>© 2009 Google -
|
||
|
<a href="http://www.google.com/privacy.html">Privacy Policy</a> -
|
||
|
<a href="http://www.google.com/terms_of_service.html">Terms and Conditions</a> -
|
||
|
<a href="http://www.google.com/about.html">About Google</a>
|
||
|
</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</BODY>
|
||
|
</HTML>
|