C# Class Microsoft.Zing.TraversalInfo

Inheritance: IFingerprintableState
Afficher le fichier Open project: ZingModelChecker/Zing Class Usage Examples

Méthodes publiques

Свойство Type Description
CurrentDepth long
IsAcceptingState bool
IsFingerPrinted bool
NumProcesses int
Predecessor TraversalInfo
ProcessInfo System.Diagnostics.ProcessInfo[]
Via Via
ZingDBSchedState ZingerSchedulerState
ZingDBScheduler ZingerDelayingScheduler
ZingerPlugin ZingerPluginInterface
ZingerPluginState ZingerPluginState
fingerprint Fingerprint
preemptionBounding ZingPreemptionBounding
stateType StateType
zBounds ZingerBounds

Protected Properties

Свойство Type Description
doDelay bool
events Microsoft.Zing.ZingEvent[]
exception System.Exception
hasMultipleSuccessors bool
stateImpl StateImpl

Méthodes publiques

Méthode Description
Clone ( ) : TraversalInfo
Clone ( int SerialNum ) : TraversalInfo

A Clone method

DiscardStateImpl ( ) : void
Equals ( object obj ) : bool
Equals ( object obj1, object obj2 ) : bool
GenerateNonCompactTrace ( ) : Trace

Generate Noncompact trace for Error Reporting

GenerateTrace ( ) : Trace
GetDelayedSuccessor ( ) : TraversalInfo
GetHashCode ( ) : int
GetNextSuccessor ( ) : TraversalInfo
GetNextSuccessorUnderDelayZeroForRW ( ) : TraversalInfo
GetNextSuccessorUniformRandomly ( ) : TraversalInfo
GetStateImpl ( ) : StateImpl
GetSuccessorN ( int n ) : TraversalInfo
GetSuccessorNForReplay ( int n, bool MustFingerprint ) : TraversalInfo
IsInvalidEndState ( ) : bool
Load ( Assembly asm ) : TraversalInfo
MakeTraversalInfo ( StateImpl s ) : TraversalInfo

Used to obtain a traversalinfo when the entire state is saved at a depth cut off

NumSuccessors ( ) : ushort
ProgramCounters ( ) : ProgramCounterTuple
Reset ( ) : void
SetMagicbit ( ) : TraversalInfo

Set the magic bit for NDFS

ToString ( ) : string
reclaimState ( ) : StateImpl

Méthodes protégées

Méthode Description
MakeTraversalInfo ( StateImpl s, TraversalInfo pred, Via bt ) : TraversalInfo
MakeTraversalInfo ( StateImpl s, TraversalInfo pred, Via bt, bool MustFingerprint ) : TraversalInfo
Replay ( TraversalInfo succ, Via bt ) : void
TraversalInfo ( StateImpl s, StateType st, TraversalInfo pred, Via bt ) : System

Private Methods

Méthode Description
DumpEvents ( ) : string
deOrphanize ( StateImpl s ) : void

Method Details

Clone() public méthode

public Clone ( ) : TraversalInfo
Résultat TraversalInfo

Clone() public méthode

A Clone method
public Clone ( int SerialNum ) : TraversalInfo
SerialNum int
Résultat TraversalInfo

DiscardStateImpl() public méthode

public DiscardStateImpl ( ) : void
Résultat void

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

Equals() public static méthode

public static Equals ( object obj1, object obj2 ) : bool
obj1 object
obj2 object
Résultat bool

GenerateNonCompactTrace() public méthode

Generate Noncompact trace for Error Reporting
public GenerateNonCompactTrace ( ) : Trace
Résultat Trace

GenerateTrace() public méthode

public GenerateTrace ( ) : Trace
Résultat Trace

GetDelayedSuccessor() public abstract méthode

public abstract GetDelayedSuccessor ( ) : TraversalInfo
Résultat TraversalInfo

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetNextSuccessor() public abstract méthode

public abstract GetNextSuccessor ( ) : TraversalInfo
Résultat TraversalInfo

GetNextSuccessorUnderDelayZeroForRW() public abstract méthode

public abstract GetNextSuccessorUnderDelayZeroForRW ( ) : TraversalInfo
Résultat TraversalInfo

GetNextSuccessorUniformRandomly() public abstract méthode

public abstract GetNextSuccessorUniformRandomly ( ) : TraversalInfo
Résultat TraversalInfo

GetStateImpl() public méthode

public GetStateImpl ( ) : StateImpl
Résultat StateImpl

GetSuccessorN() public abstract méthode

public abstract GetSuccessorN ( int n ) : TraversalInfo
n int
Résultat TraversalInfo

GetSuccessorNForReplay() public abstract méthode

public abstract GetSuccessorNForReplay ( int n, bool MustFingerprint ) : TraversalInfo
n int
MustFingerprint bool
Résultat TraversalInfo

IsInvalidEndState() public méthode

public IsInvalidEndState ( ) : bool
Résultat bool

Load() public static méthode

public static Load ( Assembly asm ) : TraversalInfo
asm System.Reflection.Assembly
Résultat TraversalInfo

MakeTraversalInfo() public static méthode

Used to obtain a traversalinfo when the entire state is saved at a depth cut off
public static MakeTraversalInfo ( StateImpl s ) : TraversalInfo
s StateImpl The StateImpl object of the checkpointed state
Résultat TraversalInfo

MakeTraversalInfo() protected static méthode

protected static MakeTraversalInfo ( StateImpl s, TraversalInfo pred, Via bt ) : TraversalInfo
s StateImpl
pred TraversalInfo
bt Via
Résultat TraversalInfo

MakeTraversalInfo() protected static méthode

protected static MakeTraversalInfo ( StateImpl s, TraversalInfo pred, Via bt, bool MustFingerprint ) : TraversalInfo
s StateImpl
pred TraversalInfo
bt Via
MustFingerprint bool
Résultat TraversalInfo

NumSuccessors() public abstract méthode

public abstract NumSuccessors ( ) : ushort
Résultat ushort

ProgramCounters() public méthode

public ProgramCounters ( ) : ProgramCounterTuple
Résultat ProgramCounterTuple

Replay() protected abstract méthode

protected abstract Replay ( TraversalInfo succ, Via bt ) : void
succ TraversalInfo
bt Via
Résultat void

Reset() public abstract méthode

public abstract Reset ( ) : void
Résultat void

SetMagicbit() public méthode

Set the magic bit for NDFS
public SetMagicbit ( ) : TraversalInfo
Résultat TraversalInfo

ToString() public méthode

public ToString ( ) : string
Résultat string

TraversalInfo() protected méthode

protected TraversalInfo ( StateImpl s, StateType st, TraversalInfo pred, Via bt ) : System
s StateImpl
st StateType
pred TraversalInfo
bt Via
Résultat System

reclaimState() public méthode

public reclaimState ( ) : StateImpl
Résultat StateImpl

Property Details

CurrentDepth public_oe property

Depth of the current state from the initial state
public long CurrentDepth
Résultat long

IsAcceptingState public_oe property

Is the current state an accepting state, the but is set after executing the accepting transition
public bool IsAcceptingState
Résultat bool

IsFingerPrinted public_oe property

Is the current state fingerprinted, state may not be fingerprinted if it has single successor
public bool IsFingerPrinted
Résultat bool

NumProcesses public_oe property

Total number of processes (blocked or enabled)
public int NumProcesses
Résultat int

Predecessor public_oe property

Predecessor and Successor information for replaying the stack trace from initial state
public TraversalInfo,Microsoft.Zing Predecessor
Résultat TraversalInfo

ProcessInfo public_oe property

public ProcessInfo[],System.Diagnostics ProcessInfo
Résultat System.Diagnostics.ProcessInfo[]

Via public_oe property

Used to store the transition used to enter the current state
public Via,Microsoft.Zing Via
Résultat Via

ZingDBSchedState public_oe property

public ZingerSchedulerState,Microsoft.Zing ZingDBSchedState
Résultat ZingerSchedulerState

ZingDBScheduler public_oe property

The delaying scheduler Info for the current state.
public ZingerDelayingScheduler,Microsoft.Zing ZingDBScheduler
Résultat ZingerDelayingScheduler

ZingerPlugin public_oe property

public ZingerPluginInterface,Microsoft.Zing ZingerPlugin
Résultat ZingerPluginInterface

ZingerPluginState public_oe property

public ZingerPluginState,Microsoft.Zing ZingerPluginState
Résultat ZingerPluginState

doDelay protected_oe property

Should we delay or explore the deterministic schedule. When true, the schedule is delayed.
protected bool doDelay
Résultat bool

events protected_oe property

protected ZingEvent[],Microsoft.Zing events
Résultat Microsoft.Zing.ZingEvent[]

exception protected_oe property

protected Exception,System exception
Résultat System.Exception

fingerprint public_oe property

Fingerprint of the current state
public Fingerprint fingerprint
Résultat Fingerprint

hasMultipleSuccessors protected_oe property

If the state has multiple successors
protected bool hasMultipleSuccessors
Résultat bool

preemptionBounding public_oe property

Information for preemption bounding.
public ZingPreemptionBounding,Microsoft.Zing preemptionBounding
Résultat ZingPreemptionBounding

stateImpl protected_oe property

Current State Impl
protected StateImpl stateImpl
Résultat StateImpl

stateType public_oe property

Type of Current State
public StateType stateType
Résultat StateType

zBounds public_oe property

Search bounds at the current state
public ZingerBounds,Microsoft.Zing zBounds
Résultat ZingerBounds