亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? edge.java

?? 基于數據挖掘的決策樹改進算法和貝葉斯改進算法
?? JAVA
字號:
package shared;
import java.lang.*;
import java.io.*;

/** The Edge class stores information for the edges in the Graph class. This
 * is part of the LEDA package Graph design. The comments in Graph also apply
 * to the edge class.
 * @author James Louis	5/24/2001	Java Implementation.
 */
public class Edge extends GraphObject{
//based on LEDA

    /** Succesive adjacent Edges. These are edges that are added after this edge
     * but are originating from the same origin node.
     */
   public Edge[] succ_adj_edge;

   /** Preceeding adjacent Edges. These are edges that are present before this edge
    * is created and have the same origin node.
    */
   public Edge[] pred_adj_edge;

   /** Terminal Nodes for this Edge. For directed Edges, term[0] is the source
    * Node and term[1] is the target Node.
    */
   public Node[] term;

   /** The Edge that is reverse in direction to this Edge object.
    */
   public Edge rev;			//edge that travels in reverse direction

   /** TRUE if this Edge object is hidden, otherwise FALSE.
    */
   public boolean hidden;

   /** Constructor.
    * @param terminal1 The origin terminal node.
    * @param terminal2 The destination terminal node.
    * @param info The Object containing data to be stored in thid Edge instance.
    */
   public Edge(Node terminal1, Node terminal2, Object info)
   {
      succ_adj_edge = new Edge[2];
      succ_adj_edge[0] = null;
      succ_adj_edge[1] = null;
      pred_adj_edge = new Edge[2];
      pred_adj_edge[0] = null;
      pred_adj_edge[1] = null;
      id = 0;
      term = new Node[2];
      term[0] = terminal1;
      term[1] = terminal2;
      rev = null;
      data = info;
      hidden = false;
   }

   /** Returns the source Node for this Edge.
    * @return The source Node for this Edge.
    */
   public Node source()
   {
      return term[0];
   }

   /** Returns the target Node for this Edge.
    * @return The destination Node for this Edge.
    */
   public Node target()
   {
      return term[1];
   }

   /** Returns the Node at the opposite end of the specified Edge connected to
    * that Node.
    * @param vertex The Node instance at the given end of the Edge.
    * @param edge The Edge instance for which the opposite edn is requested.
    * @return The Node at the opposite end of the specified Edge instance.
    */
   public Node opposite(Node vertex,Edge edge)
   {
      return (vertex == edge.source()) ? edge.target() : edge.source();
   }

   /** Returns the Graph object which this Edge is a part of.
    * @return The Graph instance this Edge is a part of.
    */
   public Graph graph_of()
   {
      return term[0].graph_of();
   }

   /** Copies the specified Edge object into this Edge object.
    * @param original The Edge instance to be copied.
    */
   public void copy(Edge original)
   {
      if (succ_adj_edge == null) succ_adj_edge = new Edge[2];
      if (pred_adj_edge == null) pred_adj_edge = new Edge[2];
      if (term == null) term = new Node[2];
      for(int j = 0; j < 2; j++)
      {
         succ_adj_edge[j] = original.succ_adj_edge[j];
         pred_adj_edge[j] = original.pred_adj_edge[j];
         term[j] = original.term[j];
      }
      id = original.id;
      data = original.data;
      rev = null;
      hidden = original.hidden;
   }

   /** Returns the specified successive adjacent Edge.
    * @param index The number of the specified Edge. Must be 0 or 1.
    * @return The specified successive adjacent Edge.
    */
   public Edge Succ_Adj_Edge(int index) {
       return (this != null) ? succ_adj_edge[index] : null;
   }

   /** Returns the specified preceeding adjacent Edge.
    * @param index The number of the specified Edge. Must be 0 or 1.
    * @return The specified preceeding adjacent Edge.
    */
   public Edge Pred_Adj_Edge(int index) {
       return (this != null) ? pred_adj_edge[index] : null;
   }

   /** Returns the successive adjacent Edge connected to the specified Node.
    * Searches through all succesive Edges until the appropriate one is found.
    * Assumes the connecting Edge exists.
    * @param vertex The specified Node for which a connecting Edge is requested.
    * @return The Edge connecting to the specified Node.
    */
   public Edge Succ_Adj_Edge(Node vertex)
   {
      return (this != null) ? Succ_Adj_Edge((vertex==source()) ? 0:1) : null;
   }

   /** Returns the preceeding adjacent Edge connected to the specified Node.
    * Searches through all preceeding Edges until the appropriate one is found.
    * Assumes the connecting Edge exists.
    * @param vertex The specified Node for which a connecting Edge is requested.
    * @return The Edge connecting to the specified Node.
    */
   public Edge Pred_Adj_Edge(Node vertex)
   {
      return (this != null) ? Pred_Adj_Edge((vertex==source()) ? 0:1) : null;
   }

   /** Returns the first successive adjacent Edge.
    * @return The immediately succesive Edge.
    */
   public Edge adj_succ()
   {
      return succ_adj_edge[0];
   }

   /** Returns the first preceeding adjacent Edge.
    * @return The immediately preceeding Edge.
    */
   public Edge adj_pred()
   {
      return pred_adj_edge[0];
   }

   /** Returns the first successive Edge instance from the source Node for this Edge
    * instance.
    * @return The Edge instance from the source Node for this Edge instance.
    */
   public Edge cyclic_adj_succ()
   {
      if (succ_adj_edge[0] != null){return (Edge)term[0].first_adj_edge();}
      else {return null;}
   }

   /** Returns the first preceeding Edge instance from the source Node for this Edge
    * instance.
    * @return The Edge instance from the source Node for this Edge instance.
    */
   public Edge cyclic_adj_pred()
   {
      if (pred_adj_edge[0] != null){return (Edge)term[0].last_adj_edge();}
      else {return null;}
   }

   /** Returns the first Edge object connected to the source Node.
    * @return The Edge object immediately connecting the source Node to the Edges connecting
    * to the next Node.
    */
   public Edge cyclic_in_succ()
   {
      if (succ_adj_edge[1] != null){return (Edge)term[1].first_in_edge();}
      else {return null;}
   }

   /** Returns the last Edge object before reaching a destination Node.
    * @return The last Edge object before the edge terminates at a Node.
    */
   public Edge cyclic_in_pred()
   {
      if (pred_adj_edge[1] != null){return (Edge)term[1].last_in_edge();}
      else {return null;}
   }

   /** Returns the succeding adjacent Edge of the specified Edge object.
    * @param e The Edge for which the adjacent Edge is requested.
    * @return The adjacent Edge of the specified Edge.
    */
   public Edge in_succ(Edge e)
   {
      return succ_adj_edge[1];
   }

   /** Returns the adjacent preceeding Edge of the specified Edge object.
    * @param e The Edge for which the adjacent Edge is requested.
    * @return The adjacent Edge of the specified Edge.
    */
   public Edge in_pred(Edge e)
   {
      return pred_adj_edge[1];
   }

   /** Displays the object currently stored in this Edge object.
    * @param out The Writer to which the Edge information will be displayed.
    * @throws IOException if the Writer experiences an IOException during use.
    */
   public void print_edge_entry(Writer out) throws IOException
   {
      out.write("(" + data.toString() +")");
   }

   /** Displays this Edge object to the given Writer.
    * @param out The Writer to which the Edge information will be displayed.
    * @throws IOException if the Writer experiences an IOException during use.
    */
   public void print_edge(Writer out) throws IOException
   {
// if (super() != 0)
//     super()->print_edge(edge(graph::inf(e)),o);
//  else
//     {
      out.write("[" + source() + "]");
      out.write(((source().owner.is_undirected()) ? "==" : "--"));
      print_edge_entry(out);
      out.write(((source().owner.is_undirected()) ? "==" : "-->"));
      out.write("[" + target() + "]");
//      }
   }

}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美三级电影在线观看| 欧美精品久久天天躁| 看电影不卡的网站| 久久精品国产99国产精品| 免费av成人在线| 国产激情视频一区二区三区欧美 | 男男视频亚洲欧美| 蜜臀av性久久久久蜜臀aⅴ| 轻轻草成人在线| 国产在线观看免费一区| 国产精品538一区二区在线| 成人一级片在线观看| 成人av电影免费观看| 91福利国产精品| 日韩欧美二区三区| 中文字幕乱码日本亚洲一区二区| 国产精品入口麻豆原神| 亚洲青青青在线视频| 午夜精品久久久久久久蜜桃app| 日本va欧美va精品| 成人国产精品视频| 欧美亚洲综合久久| 2023国产一二三区日本精品2022| 国产日韩三级在线| 亚洲一区二区在线观看视频| 蜜臀av性久久久久蜜臀aⅴ四虎| 国产成人在线观看免费网站| 91黄色小视频| 久久伊人蜜桃av一区二区| 亚洲天堂免费在线观看视频| 久久精品国产色蜜蜜麻豆| av在线不卡免费看| 欧美一区二区日韩一区二区| 日本一二三四高清不卡| 亚洲一区二区三区影院| 国产精品一区二区在线看| 欧美中文字幕一区| 欧美激情一区在线观看| 午夜欧美在线一二页| zzijzzij亚洲日本少妇熟睡| 欧美精品vⅰdeose4hd| 1区2区3区国产精品| 美女视频免费一区| 欧美午夜精品理论片a级按摩| 久久久久久久久一| 美腿丝袜亚洲色图| 在线日韩av片| 自拍偷拍亚洲综合| 国产乱码精品一区二区三| 欧美日韩激情一区| 亚洲欧美日韩国产手机在线| 国产综合久久久久久鬼色| 制服丝袜成人动漫| 亚洲国产一区二区三区青草影视| 成人激情图片网| 久久免费视频色| 奇米色一区二区三区四区| 欧美在线一区二区| 亚洲精品日产精品乱码不卡| 丰满少妇久久久久久久| 久久久国产精品麻豆| 美国十次综合导航| 日韩欧美中文字幕公布| 亚洲国产成人91porn| 色狠狠一区二区三区香蕉| 国产精品久久久久影视| 丁香婷婷综合五月| 国产精品私人影院| 岛国精品在线播放| 国产亚洲欧美日韩日本| 国产黄色91视频| 久久久91精品国产一区二区三区| 紧缚捆绑精品一区二区| 精品福利av导航| 国产呦萝稀缺另类资源| 国产视频一区二区在线| 不卡的av在线| 一区二区三区免费看视频| 91国产免费观看| 午夜精品福利视频网站| 欧美日韩高清影院| 天天综合天天综合色| 欧美一区二区三区在线看| 美女精品一区二区| 国产欧美一区二区精品性色超碰| 福利电影一区二区| 亚洲精品国产一区二区精华液| 在线一区二区视频| 免费黄网站欧美| www久久久久| 91在线视频播放地址| 亚洲成av人片在线观看无码| 欧美一区二区国产| 国产精品99久久久久久似苏梦涵| 国产亚洲欧洲一区高清在线观看| 99re免费视频精品全部| 同产精品九九九| 2023国产精品| 色婷婷国产精品综合在线观看| 视频精品一区二区| 国产亚洲视频系列| 在线看一区二区| 精品一区二区在线观看| 国产精品久久影院| 欧美日韩亚洲另类| 成人免费视频caoporn| 五月天激情综合网| 国产嫩草影院久久久久| 欧美电影在线免费观看| 国产一区二区三区免费看| 亚洲男人的天堂在线观看| 欧美一级欧美三级在线观看 | 国产蜜臀97一区二区三区| 在线亚洲人成电影网站色www| 奇米色一区二区| 中文字幕中文字幕在线一区| 欧美一级搡bbbb搡bbbb| 91网站最新地址| 麻豆成人综合网| 亚洲少妇屁股交4| 久久久久久久久久久黄色| 欧美亚洲一区二区在线观看| 国模娜娜一区二区三区| 亚洲第一主播视频| 国产精品久久久久一区二区三区共| 精品视频一区三区九区| 成人黄色国产精品网站大全在线免费观看 | 免费久久99精品国产| 亚洲黄色免费电影| 国产精品麻豆视频| 欧美精品一区二区三区视频| 欧美日韩国产高清一区二区| 色综合久久久久网| 成人动漫一区二区| 国产成人精品免费在线| 国产一区在线观看视频| 精品一区二区三区免费观看| 日韩电影在线一区二区| 亚洲成人精品一区| 亚洲国产日韩综合久久精品| 亚洲免费在线视频一区 二区| 国产精品网站一区| 欧美经典三级视频一区二区三区| 欧美mv日韩mv国产网站app| 日韩一区二区免费高清| 91精品国模一区二区三区| 欧美人妖巨大在线| 91精品国产综合久久小美女| 欧美精品三级在线观看| 在线精品视频一区二区| 在线观看一区日韩| 欧美日产国产精品| 这里只有精品99re| 精品国产乱子伦一区| 久久婷婷综合激情| 中文字幕不卡的av| 中文字幕一区二区三区不卡在线 | 欧美电视剧免费全集观看| 欧美一区在线视频| 欧美精品一区二区三区蜜臀| 国产欧美一二三区| 中文字幕日本不卡| 亚洲精品第一国产综合野| 一区二区三区国产精品| 亚洲国产精品视频| 麻豆精品视频在线观看视频| 久久99在线观看| 成人久久久精品乱码一区二区三区| 成人免费高清视频在线观看| 91碰在线视频| 欧美一区二区精美| 国产精品丝袜黑色高跟| 亚洲人成在线观看一区二区| 午夜精品123| 国产在线精品不卡| 色呦呦网站一区| 91精品国产色综合久久ai换脸 | 国产视频一区在线播放| 综合分类小说区另类春色亚洲小说欧美 | 亚洲风情在线资源站| 麻豆国产精品视频| 不卡一区在线观看| 88在线观看91蜜桃国自产| 久久精品欧美一区二区三区不卡| 亚洲视频狠狠干| 日韩成人av影视| 91在线精品秘密一区二区| 7878成人国产在线观看| 国产精品成人网| 日本成人在线电影网| 91蜜桃在线免费视频| 欧美一区二区三区爱爱| 亚洲精品免费看| 国产精品一区免费在线观看| 欧美军同video69gay| 亚洲人成7777| 国产大陆a不卡| 欧美一区二区成人| 一区二区日韩av| 国产91精品精华液一区二区三区|