Package edu.fiu.jtlex.data
Class IndeterminacyDetector
java.lang.Object
edu.fiu.jtlex.data.IndeterminacyDetector
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDetects indeterminacies in the given TimeML Graph.static doubleReturns a percent value representing the indeterminacy score.static intReturns the overall length of the timeline.static intReturns the number of adjacent pairs which have been located.static intReturns the total number of indeterminant time points which have been located.Returns the adjacent indeterminant time pairings.Returns the time points which are indeterminant.
-
Constructor Details
-
IndeterminacyDetector
public IndeterminacyDetector()
-
-
Method Details
-
detect
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
Returns the adjacent indeterminant time pairings.- Returns:
- the adjacent indeterminant time pairings.
-
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.
-