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

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

/**
 * Represents an Edge of a Graph.
 */
public interface Edge {

  /**
   * Returns the source of the Edge.
   */
  Vertex getSource();

  /**
   * Returns the Target of the Edge.
   */
  Vertex getTarget();

  /**
   * Returns the type of the Edge.
   */
  SemanticRelationType getType();

  /**
   * Returns 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);
}

@@ -162,16 +162,101 @@
  Graph.%0A
+ * @see com.github.bot.curiosone.core.knowledge.interfaces.Graph The Graph Interface%0A
  */%0Apubl
@@ -283,31 +283,66 @@
 %0A  /**%0A   * 
-R
+Gets the source of the Edge.%0A   * @r
 eturn
-s
+ 
  the source 
@@ -344,33 +344,122 @@
 urce of the Edge
-.
+%0A   * @see  com.github.bot.curiosone.core.knowledge.interfaces.Vertex The Vertex Interface
 %0A   */%0A  Vertex 
@@ -479,31 +479,66 @@
 %0A  /**%0A   * 
-R
+Gets the Target of the Edge.%0A   * @r
 eturn
-s
+ 
  the Target 
@@ -540,33 +540,122 @@
 rget of the Edge
-.
+%0A   * @see  com.github.bot.curiosone.core.knowledge.interfaces.Vertex The Vertex Interface
 %0A   */%0A  Vertex 
@@ -675,31 +675,64 @@
 %0A  /**%0A   * 
-R
+Gets the type of the Edge.%0A   * @r
 eturn
-s
+ 
  the type of
@@ -732,33 +732,146 @@
 type of the Edge
-.
+%0A   * @see  com.github.bot.curiosone.core.knowledge..SemanticRelationType the SemanticRelationType%0A   *       Enum
 %0A   */%0A  Semanti
@@ -911,15 +911,50 @@
   * 
-R
+Gets the weight of the Edge.%0A   * @r
 eturn
-s
+ 
  the
@@ -968,25 +968,24 @@
  of the Edge
-.
 %0A   */%0A  Int

improve Edge javadoc