Interface OpHistory

  • All Superinterfaces:
    Comparable<OpHistory>, Prioritized<OpHistory>

    public interface OpHistory
    extends Prioritized<OpHistory>
    Log describing each execution of an Op. This class is designed to answer two questions:
    1. What Op(s) produced and/or mutated this output?
    2. Given an Object op, what OpInfos (including dependencies) were utilized to implement that Op's functionality?
    The answers to these two questions allow users to produce an entire List<Graph<OpInfo>>, containing all of the information needed to reproduce any Object output.

    Note that SciJava Ops is responsible for logging the returns to any matching calls here, but with some effort the user or other applications could also contribute their algorithms to the history.

    Author:
    Gabriel Selzer
    • Method Detail

      • getOpHistory

        static OpHistory getOpHistory()
      • executionsUpon

        List<RichOp<?>> executionsUpon​(Object o)
        Describes the known executions upon Object o recorded in the history
        Parameters:
        o - the Object of interest
        Returns:
        a List of all executions upon o