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

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

/**
 * Interface for SemanticRelation.
 * @author Christian
 *
 */
public interface Edge {

  /**
   *  Method that returns SemanticRelation source Vertex.
   * @return Object Vertex
   */
  Vertex getSource();

  /**
   *  Method that returns SemanticRelation target Vertex.
   * @return Object Vertex
   */
  Vertex getTarget();

  /**
   *  Method that returns SemanticRelation Type.
   * @return Enum SemanticRelationType
   */
  SemanticRelationType getType();
  
  /**
   * Method that returns SemanticRelation weight.
   * @return Integer weight
   */
  Integer getWeight();
  
  /**
   * Method that sets SemanticRelation weight.
   * @param i weight
   */
  void setWeight(Integer i);
}
@@ -135,426 +135,263 @@
 %0A * 
-Interface for SemanticRelation.%0A * @author Christian%0A *%0A */%0Apublic interface Edge %7B%0A%0A  /**%0A   *  Method that returns SemanticRelation source Vertex.%0A   * @return Object Vertex%0A   */%0A  Vertex getSource();%0A%0A  /**%0A   *  Method that returns SemanticRelation target Vertex.%0A   * @return Object Vertex%0A   */%0A  Vertex getTarget();%0A%0A  /**%0A   *  Method that returns SemanticRelation Type.%0A   * @return Enum SemanticRelationType
+Represents an Edge of a Semantic Network.%0A */%0Apublic interface Edge %7B%0A%0A  /**%0A   * Returns the source of the Edge.%0A   */%0A  Vertex getSource();%0A%0A  /**%0A   * Returns the Target of the Edge.%0A   */%0A  Vertex getTarget();%0A%0A  /**%0A   * Returns the type of the Edge.
 %0A   
@@ -423,26 +423,24 @@
  getType();%0A
-  
 %0A  /**%0A   * 
@@ -443,80 +443,39 @@
   * 
-Method that returns SemanticRelation weight.%0A   * @return Integer weight
+Returns the weight of the Edge.
 %0A   
@@ -500,18 +500,16 @@
 ight();%0A
-  
 %0A  /**%0A 
@@ -516,69 +516,80 @@
   * 
-Method that sets SemanticRelation weight.%0A   * @param i weigh
+Sets the weight of the Edge.%0A   * @param i weight integer value to be se
 t%0A  
@@ -622,8 +622,9 @@
 er i);%0A%7D
+%0A

improve Edge javadoc