face.java
来自「c4.5 ID3 分类决策数 公用java包 share」· Java 代码 · 共 40 行
JAVA
40 行
package shared;
import java.lang.*;
/** Face object for the Graph class.
*/
public class Face extends GraphObject{
/** The head Edge for this face of the Graph.
*/
public Edge head;
/** The size of the Graph for this Face.
*/
public int sz;
/** The Graph to which this Face belongs.
*/
public Graph owner;
/** Constructor.
* @param x Data to be stored in this Face.
*/
Face(Object x){
data = x ;
id = 0;
owner = null;
head = null;
sz = 0;
}
/** Returns the index value of this Face.
* @return The index value of this Face.
*/
public int index(){ return id & 0x7fffffff; }
/** Returns the Graph to which this Face belongs.
* @return The Graph to which this Face belongs.
*/
public Graph graph_of(){ return owner; }
}//End of Face class
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?