Uses of Interface
dev.zemco.codegame.execution.IExecutionContext
Packages that use IExecutionContext
Package
Description
Provides evaluation capabilities of executions to the application.
Provides execution capabilities to the application.
Provides instruction execution capabilities to execution.
Provides instructions for executions.
-
Uses of IExecutionContext in dev.zemco.codegame.evaluation
Methods in dev.zemco.codegame.evaluation that return IExecutionContextModifier and TypeMethodDescriptionISolutionEvaluator.getExecutionContext()Returns theexecution contextthat is being evaluated by the evaluator.SolutionEvaluator.getExecutionContext()TimeoutSolutionEvaluatorDecorator.getExecutionContext()Methods in dev.zemco.codegame.evaluation with parameters of type IExecutionContextModifier and TypeMethodDescriptionbooleanIEvaluationStrategy.evaluateSolutionForProblemCase(IExecutionContext executionContext, ProblemCase problemCase) Evaluates if theexecution contextis in a state that is considered a valid solution of a givenproblem case.booleanOutputSinkSatisfiedEvaluationStrategy.evaluateSolutionForProblemCase(IExecutionContext executionContext, ProblemCase problemCase) Evaluates the solution by checking if theoutput sinkof the execution is satisfied.Constructors in dev.zemco.codegame.evaluation with parameters of type IExecutionContextModifierConstructorDescriptionSolutionEvaluator(IExecutionContext executionContext, IEvaluationStrategy evaluationStrategy, ProblemCase problemCase) Creates an instance ofSolutionEvaluator. -
Uses of IExecutionContext in dev.zemco.codegame.execution
Classes in dev.zemco.codegame.execution that implement IExecutionContextModifier and TypeClassDescriptionclassImplementation of theexecution context, where individual components cannot be changed during the execution.Methods in dev.zemco.codegame.execution that return IExecutionContextModifier and TypeMethodDescriptionIExecutionService.getExecutionContextForProblemCaseSolution(Program solution, ProblemCase problemCase) ProgramExecutionService.getExecutionContextForProblemCaseSolution(Program solution, ProblemCase problemCase) -
Uses of IExecutionContext in dev.zemco.codegame.execution.engine
Methods in dev.zemco.codegame.execution.engine that return IExecutionContextModifier and TypeMethodDescriptionProgramExecutionEngine.getExecutionContext()Returns theexecution contextmanaged by this engine. -
Uses of IExecutionContext in dev.zemco.codegame.execution.instructions
Methods in dev.zemco.codegame.execution.instructions with parameters of type IExecutionContextModifier and TypeMethodDescriptionvoidAbstractCopyInstruction.execute(IExecutionContext executionContext) Copies the value from the sourcememory cellto the destinationmemory cell.voidAdditionInstruction.execute(IExecutionContext executionContext) Adds constant to value held in workingmemory cell.voidIInstruction.execute(IExecutionContext executionContext) Executes instruction on a givencontext.voidInputInstruction.execute(IExecutionContext executionContext) Takes next value frominput sourceand copies it to the workingmemory cell.voidJumpInstruction.execute(IExecutionContext executionContext) Requests theengineto perform a jump to the target jump label.voidOutputInstruction.execute(IExecutionContext executionContext) Emits current value in workingmemory celltooutput sink.protected booleanJumpIfZeroInstruction.shouldPerformJump(IExecutionContext executionContext) Checks if the value of the workingmemory cellis equal to zero.protected booleanJumpInstruction.shouldPerformJump(IExecutionContext executionContext) Checks if the instruction should request theengineto perform a jump.