Package edu.fiu.jtlex.algorithms
Interface ITLEX
- All Known Implementing Classes:
TLEX
public interface ITLEX
Represents the main processing area for jTLEX.
Creates different parsers/detectors for a graph to utilize.
- Since:
- jTLEX 1.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the set of consistent subordinate subgraphs.Returns the set of inconsistent subordinate subgraphs.Gets the set of inconsistent subgraphsdouble
Returns a percent value representing the indeterminacy score.Returns a list of Indeterminant Time Pairs.Returns the set of partitions within a graph.Return a list of solutions for the graph.Returns the timeline of the graph.int
Returns the length of the timeline.boolean
Checks if the graph is consistent.toJson()
Produces a JSON representation of the object.
-
Method Details
-
getPartitions
List<ITimeMLGraph> getPartitions()Returns the set of partitions within a graph.- Returns:
- the a List of IGraphs containing the subgraphs.
- Since:
- jTLEX 1.0
-
getConsistentPartitions
List<ITimeMLGraph> getConsistentPartitions()Returns the set of consistent subordinate subgraphs.- Returns:
- the set of consistent subordinate subgraphs.
- Since:
- jTLEX 1.0
-
getInconsistentPartitions
List<ITimeMLGraph> getInconsistentPartitions()Returns the set of inconsistent subordinate subgraphs.- Returns:
- the set of inconsistent subordinate subgraphs.
- Since:
- jTLEX 1.0
-
getInconsistentSubGraphs
Set<ITimeMLGraph> getInconsistentSubGraphs()Gets the set of inconsistent subgraphs- Returns:
- The set of inconsistent partitions
- Since:
- jTLEX 1.0
-
getSolutions
Return a list of solutions for the graph.- Returns:
- the list of list of string representing solutions.
- Since:
- jTLEX 1.0
-
getTimeline
ITimeMLTimeline getTimeline()Returns the timeline of the graph.- Returns:
- an ITimeline object containing the timeline of the graph.
- Since:
- jTLEX 1.0
-
getTimelineLength
int getTimelineLength()Returns the length of the timeline.- Returns:
- the length of the main timeline, -1 if graph is inconsistent.
- Since:
- jTLEX 1.0
-
getIndeterminantTimePairs
Returns a list of Indeterminant Time Pairs.- Returns:
- a list of strings containing the Indeterminant Time Pairs.
- Since:
- jTLEX 1.0
-
getIndeterminacyScore
double getIndeterminacyScore()Returns a percent value representing the indeterminacy score.- Returns:
- a double that is the percent value representing the indeterminacy score.
- Since:
- jTLEX 1.0
-
isConsistent
boolean isConsistent()Checks if the graph is consistent.- Returns:
- true if the graph is consistent, or else false.
- Since:
- jTLEX 1.0
-
toJson
String toJson()Produces a JSON representation of the object.- Returns:
- A JSON string representation of the object.
- Since:
- jTLEX 1.0
-