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

📄 hierarchicalbcengine.html

📁 由java开发的软件包
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="HierarchicalBCEngine(weka.core.FastVector, weka.core.FastVector, int, int)"><!-- --></A><H3>HierarchicalBCEngine</H3><PRE>public <B>HierarchicalBCEngine</B>(<A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A>&nbsp;nodes,                            <A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A>&nbsp;edges,                            int&nbsp;nodeWidth,                            int&nbsp;nodeHeight)</PRE><DL><DD>Constructor - takes in FastVectors of nodes and edges, and the initial  width and height of a node<P></DL><HR><A NAME="HierarchicalBCEngine(weka.core.FastVector, weka.core.FastVector, int, int, boolean)"><!-- --></A><H3>HierarchicalBCEngine</H3><PRE>public <B>HierarchicalBCEngine</B>(<A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A>&nbsp;nodes,                            <A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A>&nbsp;edges,                            int&nbsp;nodeWidth,                            int&nbsp;nodeHeight,                            boolean&nbsp;edgeConcentration)</PRE><DL><DD>Constructor - takes in FastVectors of nodes and edges, the initial width and height of a node, and a boolean value to indicate if the edges should be concentrated.<P><DT><B>Parameters:</B><DD><CODE>nodes</CODE> - - FastVector containing all the nodes<DD><CODE>edges</CODE> - - FastVector containing all the edges<DD><CODE>nodeWidth</CODE> - - A node's allowed width<DD><CODE>nodeHeight</CODE> - - A node's allowed height<DD><CODE>edgeConcentration</CODE> - - True: if want to concentrate edges, False: otherwise</DL><HR><A NAME="HierarchicalBCEngine()"><!-- --></A><H3>HierarchicalBCEngine</H3><PRE>public <B>HierarchicalBCEngine</B>()</PRE><DL><DD>SimpleConstructor If we want to instantiate the class first, and if information for nodes and edges is not available. However, we would have to manually provide all the information later on by calling setNodesEdges and setNodeSize methods<P></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="getControlPanel()"><!-- --></A><H3>getControlPanel</H3><PRE>public javax.swing.JPanel <B>getControlPanel</B>()</PRE><DL><DD>This method returns a handle to the extra controls panel, so that the visualizing class can add it to some of it's own gui panel.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html#getControlPanel()">getControlPanel</A></CODE> in interface <CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html" title="interface in weka.gui.graphvisualizer">LayoutEngine</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getProgressBar()"><!-- --></A><H3>getProgressBar</H3><PRE>public javax.swing.JProgressBar <B>getProgressBar</B>()</PRE><DL><DD>Returns a handle to the progressBar of this LayoutEngine.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html#getProgressBar()">getProgressBar</A></CODE> in interface <CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html" title="interface in weka.gui.graphvisualizer">LayoutEngine</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setNodesEdges(weka.core.FastVector, weka.core.FastVector)"><!-- --></A><H3>setNodesEdges</H3><PRE>public void <B>setNodesEdges</B>(<A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A>&nbsp;nodes,                          <A HREF="../../../weka/core/FastVector.html" title="class in weka.core">FastVector</A>&nbsp;edges)</PRE><DL><DD>Sets the nodes and edges for this LayoutEngine. Must be used if the class created by simple HierarchicalBCEngine() constructor.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html#setNodesEdges(weka.core.FastVector, weka.core.FastVector)">setNodesEdges</A></CODE> in interface <CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html" title="interface in weka.gui.graphvisualizer">LayoutEngine</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>nodes</CODE> - - FastVector containing all the nodes<DD><CODE>edges</CODE> - - FastVector containing all the edges</DL></DD></DL><HR><A NAME="setNodeSize(int, int)"><!-- --></A><H3>setNodeSize</H3><PRE>public void <B>setNodeSize</B>(int&nbsp;nodeWidth,                        int&nbsp;nodeHeight)</PRE><DL><DD>Sets the size of a node. This method must be	used if the class created by simple	HierarchicalBCEngine() constructor.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html#setNodeSize(int, int)">setNodeSize</A></CODE> in interface <CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html" title="interface in weka.gui.graphvisualizer">LayoutEngine</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>nodeWidth</CODE> - - A node's allowed width<DD><CODE>nodeHeight</CODE> - - A node's allowed height</DL></DD></DL><HR><A NAME="addLayoutCompleteEventListener(weka.gui.graphvisualizer.LayoutCompleteEventListener)"><!-- --></A><H3>addLayoutCompleteEventListener</H3><PRE>public void <B>addLayoutCompleteEventListener</B>(<A HREF="../../../weka/gui/graphvisualizer/LayoutCompleteEventListener.html" title="interface in weka.gui.graphvisualizer">LayoutCompleteEventListener</A>&nbsp;l)</PRE><DL><DD>Method to add a LayoutCompleteEventListener<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html#addLayoutCompleteEventListener(weka.gui.graphvisualizer.LayoutCompleteEventListener)">addLayoutCompleteEventListener</A></CODE> in interface <CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html" title="interface in weka.gui.graphvisualizer">LayoutEngine</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>l</CODE> - - Listener to receive the LayoutCompleteEvent by this            class.</DL></DD></DL><HR><A NAME="removeLayoutCompleteEventListener(weka.gui.graphvisualizer.LayoutCompleteEventListener)"><!-- --></A><H3>removeLayoutCompleteEventListener</H3><PRE>public void <B>removeLayoutCompleteEventListener</B>(<A HREF="../../../weka/gui/graphvisualizer/LayoutCompleteEventListener.html" title="interface in weka.gui.graphvisualizer">LayoutCompleteEventListener</A>&nbsp;e)</PRE><DL><DD>Method to remove a LayoutCompleteEventListener.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html#removeLayoutCompleteEventListener(weka.gui.graphvisualizer.LayoutCompleteEventListener)">removeLayoutCompleteEventListener</A></CODE> in interface <CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html" title="interface in weka.gui.graphvisualizer">LayoutEngine</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - - The LayoutCompleteEventListener to remove.</DL></DD></DL><HR><A NAME="fireLayoutCompleteEvent(weka.gui.graphvisualizer.LayoutCompleteEvent)"><!-- --></A><H3>fireLayoutCompleteEvent</H3><PRE>public void <B>fireLayoutCompleteEvent</B>(<A HREF="../../../weka/gui/graphvisualizer/LayoutCompleteEvent.html" title="class in weka.gui.graphvisualizer">LayoutCompleteEvent</A>&nbsp;e)</PRE><DL><DD>Fires a LayoutCompleteEvent.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html#fireLayoutCompleteEvent(weka.gui.graphvisualizer.LayoutCompleteEvent)">fireLayoutCompleteEvent</A></CODE> in interface <CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html" title="interface in weka.gui.graphvisualizer">LayoutEngine</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>e</CODE> - - The LayoutCompleteEvent to fire</DL></DD></DL><HR><A NAME="layoutGraph()"><!-- --></A><H3>layoutGraph</H3><PRE>public void <B>layoutGraph</B>()</PRE><DL><DD>This method does a complete layout of the graph which includes removing cycles, assigning levels to nodes, reducing edge crossings and laying out the vertices horizontally for better visibility. The removing of cycles and assignment of levels is only performed if hasn't been performed earlier or if some layout option has been changed and it is necessary to do so. It is necessary to do so, if the user selects/deselects edge concentration or topdown/bottomup options. <p> The layout is performed in a separate thread and the progress bar of the class is updated for each of the steps as the process continues.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html#layoutGraph()">layoutGraph</A></CODE> in interface <CODE><A HREF="../../../weka/gui/graphvisualizer/LayoutEngine.html" title="interface in weka.gui.graphvisualizer">LayoutEngine</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="phaseIU(int, int[][])"><!-- --></A><H3>phaseIU</H3><PRE>public void <B>phaseIU</B>(int&nbsp;lindex,                    int[][]&nbsp;levels)</PRE><DL><DD>See Sugiyama et al. 1981 (full reference give at top) lindex is the index of the level we want to process. In this method we'll sort the vertices at the level lindex according to their DOWN-barycenters (or row barycenters).<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="phaseIID(int, int[][])"><!-- --></A><H3>phaseIID</H3><PRE>public void <B>phaseIID</B>(int&nbsp;lindex,                     int[][]&nbsp;levels)</PRE><DL><DD>See Sugiyama et al. 1981 (full reference give at top)<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="phaseIIU(int, int[][])"><!-- --></A><H3>phaseIIU</H3><PRE>public void <B>phaseIIU</B>(int&nbsp;lindex,                     int[][]&nbsp;levels)</PRE><DL><DD>See Sugiyama et al. 1981 (full reference give at top)<P><DD><DL></DL></DD><DD><DL></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=3 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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/index.html"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../weka/gui/graphvisualizer/GraphVisualizer.html" title="class in weka.gui.graphvisualizer"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../weka/gui/graphvisualizer/LayoutCompleteEvent.html" title="class in weka.gui.graphvisualizer"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="HierarchicalBCEngine.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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