Class OngoingDetection


  • public class OngoingDetection
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      OngoingDetection​(Tensor<java.lang.Boolean> tensor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <C extends java.lang.Comparable<C>>
      java.lang.Iterable<C>
      changesAlong​(java.lang.Class<C> direction)
      Defines the direction of the tensor in which the searching of the changes will be performed.
      <C> java.lang.Iterable<C> changesAlong​(java.lang.Class<C> direction, java.util.Comparator<C> comparator)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OngoingDetection

        public OngoingDetection​(Tensor<java.lang.Boolean> tensor)
    • Method Detail

      • changesAlong

        public <C extends java.lang.Comparable<C>> java.lang.Iterable<C> changesAlong​(java.lang.Class<C> direction)
        Defines the direction of the tensor in which the searching of the changes will be performed.

        This class must implement Comparable.

        Parameters:
        direction - the dimension in which direction to search
        Returns:
      • changesAlong

        public <C> java.lang.Iterable<C> changesAlong​(java.lang.Class<C> direction,
                                                      java.util.Comparator<C> comparator)