Click or drag to resize

IUserProxyForSequenceExecution Interface

A proxy querying or simulating a user for choices during sequence execution TODO: general user proxy, not just for sequence execution

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
public interface IUserProxyForSequenceExecution

The IUserProxyForSequenceExecution type exposes the following members.

Methods
  NameDescription
Public methodChooseDirection
returns the maybe user altered direction of execution for the sequence given the randomly chosen directions is supplied; 0: execute left operand first, 1: execute right operand first
Public methodChooseMatch(Int32, SequenceSomeFromSet)
returns the maybe user altered match to execute next for the sequence given the randomly chosen total match is supplied; the sequence with the rules and matches is supplied
Public methodChooseMatch(Int32, IMatches, Int32, Sequence)
returns the maybe user altered match to apply next for the sequence given the randomly chosen match is supplied; the object with all available matches is supplied
Public methodChoosePoint
returns the maybe user altered point within the interval series, denoting the sequence to execute next the randomly chosen point is supplied; the sequence with the intervals and their corresponding sequences is supplied
Public methodChooseRandomNumber(Double, Sequence)
returns the maybe user altered random number in the range 0.0 - 1.0 exclusive for the sequence given the random number chosen is supplied
Public methodChooseRandomNumber(Int32, Int32, Sequence)
returns the maybe user altered random number in the range 0 - upperBound exclusive for the sequence given the random number chosen is supplied
Public methodChooseSequence
returns the maybe user altered sequence to execute next for the sequence given the randomly chosen sequence is supplied; the object with all available sequences is supplied
Public methodChooseValue
returns a user chosen/input value of the given type no random input value is supplied, the user must give a value
Public methodHandleAssert
Processes the assertion, causing a halt if it failed (evaluation only occurs for !isAlways in case of procEnv.EnableAssertions), queries the user whether to continue execution (internally).
Top
See Also