Class IndeterminacyDetector

java.lang.Object
edu.fiu.jtlex.data.IndeterminacyDetector

public class IndeterminacyDetector extends Object
Indeterminant timelines are where there are a pair of nodes (events or times) that do not have a clear order in time.
Author:
ceber003, luisrobaina, emmanuelgarcia
  • Constructor Details

    • IndeterminacyDetector

      public IndeterminacyDetector()
  • Method Details

    • detect

      public static void detect​(IGraph TimeMLGraph)
      Detects indeterminacies in the given TimeML Graph. TODO: Document object modifications.
      Parameters:
      TimeMLGraph - TODO: Document Parameter (does this graph need to be previously partitioned?)
    • getIndeterminacyScore

      public static double getIndeterminacyScore()
      Returns a percent value representing the indeterminacy score.
      Returns:
      a percent value representing the indeterminacy score.
    • indeterminantTimePairs

      public static List<String> indeterminantTimePairs()
      Returns the adjacent indeterminant time pairings.
      Returns:
      the adjacent indeterminant time pairings.
    • indeterminantTimePoints

      public static List<String> indeterminantTimePoints()
      Returns the time points which are indeterminant.
      Returns:
      the time points which are indeterminant.
    • getTotalIndeterminantSections

      public static int getTotalIndeterminantSections()
      Returns the total number of indeterminant time points which have been located.
      Returns:
      the total number of indeterminant time points which have been located.
    • getTimelineLength

      public static int getTimelineLength()
      Returns the overall length of the timeline.
      Returns:
      the overall length of the timeline.
    • getTotalAdjacentPairs

      public static int getTotalAdjacentPairs()
      Returns the number of adjacent pairs which have been located.
      Returns:
      the number of adjacent pairs which have been located.