类 GraphNode

java.lang.Object
weka.gui.graphvisualizer.GraphNode
所有已实现的接口:
GraphConstants

public class GraphNode extends Object implements GraphConstants
This class represents a node in the Graph.
版本:
$Revision: 1.5 $ - 23 Apr 2003 - Initial version (Ashraf M. Kibriya)
作者:
Ashraf M. Kibriya (amk14@cs.waikato.ac.nz)
  • 字段详细资料

    • x

      public int x
      The x and y position of the node
    • y

      public int y
      The x and y position of the node
    • nodeType

      public int nodeType
      Type of node. Default is Normal node type
  • 构造器详细资料

    • GraphNode

      public GraphNode(String id, String label)
      Constructor
    • GraphNode

      public GraphNode(String id, String label, int type)
      Constructor
  • 方法详细资料

    • equals

      public boolean equals(Object n)
      Returns true if passed in argument is an instance of GraphNode and is equal to this node. Implemented to enable the use of contains method in Vector/FastVector class.
      覆盖:
      equals 在类中 Object