Interface ComputerResult
- 
- All Superinterfaces:
- AutoCloseable
 - All Known Implementing Classes:
- DefaultComputerResult
 
 public interface ComputerResult extends AutoCloseable The result of theGraphComputer's computation. This is returned in aFuturebyGraphComputer.submit(). A GraphComputer computation yields two things: an updated view of the computed onGraphand any computational sideEffects calledMemory.- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Close the computedGraphComputerresult.Graphgraph()Memorymemory()Get the GraphComputer's computational sideEffects known asMemory.
 
- 
- 
- 
Method Detail- 
graphGraph graph() - Returns:
- The computed graph
 
 - 
memoryMemory memory() Get the GraphComputer's computational sideEffects known asMemory.- Returns:
- the computed memory
 
 - 
closevoid close() throws ExceptionClose the computedGraphComputerresult. The semantics of "close" differ depending on the underlying implementation. In general, when aComputerResultis closed, the computed values are no longer available to the user.- Specified by:
- closein interface- AutoCloseable
- Throws:
- Exception
 
 
- 
 
-