Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CODEX_VSS::DynamicCombinatoricScenario Class Reference

This class contains the mappings between servers and failure scenarios. More...

#include <CombinatoricScenario.h>

Inheritance diagram for CODEX_VSS::DynamicCombinatoricScenario:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 DynamicCombinatoricScenario (unsigned int numServ, unsigned int numFaults)
 The constructor sets up the failure scenarios.
virtual ~DynamicCombinatoricScenario ()
 Virtual destructor.
bool inScenario (unsigned int host, unsigned int scenario) const
 Is the host in a failure scenario?

Detailed Description

This class contains the mappings between servers and failure scenarios.

Definition at line 31 of file CombinatoricScenario.h.


Constructor & Destructor Documentation

CODEX_VSS::DynamicCombinatoricScenario::DynamicCombinatoricScenario unsigned int  numServ,
unsigned int  numFaults
[inline]
 

The constructor sets up the failure scenarios.

It performs a fair amount of work.

Definition at line 38 of file CombinatoricScenario.h.


Member Function Documentation

bool CODEX_VSS::DynamicCombinatoricScenario::inScenario unsigned int  host,
unsigned int  scenario
const [inline]
 

Is the host in a failure scenario?

Parameters:
host The host number, in [0,numServ)
scenario The failure scenario number
Returns:
Whether the host is in the failure scenario, and therefore should not be given any secrets protected against that scenario, such as shares in a Combinatoric secret sharing scheme.

Definition at line 62 of file CombinatoricScenario.h.


The documentation for this class was generated from the following file:
Generated on Fri May 6 17:42:53 2005 for COrnell Data EXchange (CODEX) by  doxygen 1.4.1