All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
klee::RandomSearcher Class Reference

#include <Searcher.h>

Inheritance diagram for klee::RandomSearcher:
Collaboration diagram for klee::RandomSearcher:

Public Member Functions

ExecutionStateselectState ()
void update (ExecutionState *current, const std::set< ExecutionState * > &addedStates, const std::set< ExecutionState * > &removedStates)
bool empty ()
void printName (llvm::raw_ostream &os)
- Public Member Functions inherited from klee::Searcher
virtual ~Searcher ()
virtual void activate ()
virtual void deactivate ()
void addState (ExecutionState *es, ExecutionState *current=0)
void removeState (ExecutionState *es, ExecutionState *current=0)

Private Attributes

std::vector< ExecutionState * > states

Additional Inherited Members

- Public Types inherited from klee::Searcher
enum  CoreSearchType {
  DFS, BFS, RandomState, RandomPath,
  NURS_CovNew, NURS_MD2U, NURS_Depth, NURS_ICnt,

Detailed Description

Definition at line 111 of file Searcher.h.

Member Function Documentation

bool klee::RandomSearcher::empty ( )

Implements klee::Searcher.

Definition at line 119 of file Searcher.h.

References states.

void klee::RandomSearcher::printName ( llvm::raw_ostream &  os)

Reimplemented from klee::Searcher.

Definition at line 120 of file Searcher.h.

ExecutionState & RandomSearcher::selectState ( )

Implements klee::Searcher.

Definition at line 130 of file Searcher.cpp.

References klee::RNG::getInt32(), klee::stats::states, and klee::theRNG.

Here is the call graph for this function:

void RandomSearcher::update ( ExecutionState current,
const std::set< ExecutionState * > &  addedStates,
const std::set< ExecutionState * > &  removedStates 

Implements klee::Searcher.

Definition at line 134 of file Searcher.cpp.

References klee::stats::states.

Member Data Documentation

std::vector<ExecutionState*> klee::RandomSearcher::states

Definition at line 112 of file Searcher.h.

Referenced by empty().

The documentation for this class was generated from the following files: