Class SequenceGraph

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.jgrapht.experimental.dag.DirectedAcyclicGraph

        org.jgrapht.experimental.dag.DirectedAcyclicGraph.CycleFoundException, org.jgrapht.experimental.dag.DirectedAcyclicGraph.Region, org.jgrapht.experimental.dag.DirectedAcyclicGraph.TopoOrderMapping<V extends Object>, org.jgrapht.experimental.dag.DirectedAcyclicGraph.TopoOrderMappingFactory<V extends Object>, org.jgrapht.experimental.dag.DirectedAcyclicGraph.TopoVertexMap, org.jgrapht.experimental.dag.DirectedAcyclicGraph.Visited, org.jgrapht.experimental.dag.DirectedAcyclicGraph.VisitedArrayImpl, org.jgrapht.experimental.dag.DirectedAcyclicGraph.VisitedArrayListImpl, org.jgrapht.experimental.dag.DirectedAcyclicGraph.VisitedBitSetImpl, org.jgrapht.experimental.dag.DirectedAcyclicGraph.VisitedFactory, org.jgrapht.experimental.dag.DirectedAcyclicGraph.VisitedHashSetImpl
    • Field Summary

      • Fields inherited from interface org.jgrapht.WeightedGraph

        DEFAULT_EDGE_WEIGHT
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void ciFilter​(double ciThreshold)  
      boolean containsVertex​(InstanceVertex instanceVertex)  
      Map<EventType,​Integer> countVerticesByEventType()  
      double findKPercentThreshold​(double quantile)  
      SequenceGraph randomSampleEdges​(double ratio)  
      void rPercentFilter​(double rPercent)  
      • Methods inherited from class org.jgrapht.experimental.dag.DirectedAcyclicGraph

        addDagEdge, addDagEdge, addEdge, addEdge, addVertex, addVertex, iterator, removeAllVertices, removeVertex
      • Methods inherited from class org.jgrapht.graph.AbstractBaseGraph

        clone, containsEdge, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, incomingEdgesOf, inDegreeOf, isAllowingLoops, isAllowingMultipleEdges, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, setEdgeSetFactory, setEdgeWeight, vertexSet
      • Methods inherited from class org.jgrapht.graph.AbstractGraph

        assertVertexExist, containsEdge, removeAllEdges, removeAllEdges, removeAllEdges, toString, toStringFromSets
      • Methods inherited from interface org.jgrapht.DirectedGraph

        incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf
      • Methods inherited from interface org.jgrapht.Graph

        addEdge, addEdge, addVertex, containsEdge, containsEdge, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet
      • Methods inherited from interface org.jgrapht.WeightedGraph

        setEdgeWeight
    • Constructor Detail

      • SequenceGraph

        public SequenceGraph()
    • Method Detail

      • ciFilter

        public void ciFilter​(double ciThreshold)
      • rPercentFilter

        public void rPercentFilter​(double rPercent)
      • randomSampleEdges

        public SequenceGraph randomSampleEdges​(double ratio)
      • findKPercentThreshold

        public double findKPercentThreshold​(double quantile)
        Parameters:
        quantile -
        Returns:
        threshold cutoff point at highest quantile * 100% (e.g. 0.7 -> highest 70% of weights)