package com.github.bot.curiosone.core.knowledge.interfaces;

import com.github.bot.curiosone.core.knowledge.SemanticRelationType;

/**
 * Represents an Edge of a Graph.
 * @see com.github.bot.curiosone.core.knowledge.interfaces.Graph The Graph Interface
 */
public interface Edge {

  /**
   * Gets the source of the Edge.
   * @return  the source of the Edge
   * @see  com.github.bot.curiosone.core.knowledge.interfaces.Vertex The Vertex Interface
   */
  Vertex getSource();

  /**
   * Gets the Target of the Edge.
   * @return  the Target of the Edge
   * @see  com.github.bot.curiosone.core.knowledge.interfaces.Vertex The Vertex Interface
   */
  Vertex getTarget();

  /**
   * Gets the type of the Edge.
   * @return  the type of the Edge
   * @see  com.github.bot.curiosone.core.knowledge.SemanticRelationType the SemanticRelationType
   *       Enum
   */
  SemanticRelationType getType();

  /**
   * Gets the weight of the Edge.
   * @return  the weight of the Edge
   */
  Integer getWeight();

  /**
   * Sets the weight of the Edge.
   * @param i weight integer value to be set
   */
  void setWeight(Integer i);
}

@@ -174,59 +174,8 @@
 see 
-com.github.bot.curiosone.core.knowledge.interfaces.
 Grap
@@ -196,16 +196,16 @@
 terface%0A
+
  */%0Apubl
@@ -317,59 +317,8 @@
 ee  
-com.github.bot.curiosone.core.knowledge.interfaces.
 Vert
@@ -462,59 +462,8 @@
 ee  
-com.github.bot.curiosone.core.knowledge.interfaces.
 Vert
@@ -603,48 +603,8 @@
 ee  
-com.github.bot.curiosone.core.knowledge.
 Sema
@@ -648,19 +648,8 @@
 Type
-%0A   *      
  Enu
@@ -854,40 +854,46 @@
 ram 
-i weight integer value to be set
+ i%0A   *         the weight of the Edge
 %0A   

fix javadoc Edge