BFSAPHeuristicTest.h
Go to the documentation of this file.
/*
* steghide 0.5.1 - a steganography program
* Copyright (C) 1999-2003 Stefan Hetzl <shetzl@chello.at>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
#ifndef SH_BFSAPHEURISTICTEST_H
#define SH_BFSAPHEURISTICTEST_H
class BFSAPHeuristic ;
class BitString ;
class CvrStgFile ;
class Matching ;
class Selector ;
#include "UnitTest.h"
#include "TestSuite.h"
class BFSAPHeuristicTest : public UnitTest {
public:
BFSAPHeuristicTest (TestSuite* s) ;
void setup (void) ;
void cleanup (void) ;
void testAlgorithm (void) ;
private:
BitString *bs1, *bs2, *bs3, *bs4, *bs5 ;
CvrStgFile *f1, *f2, *f3, *f4, *f5 ;
Selector *s1, *s2, *s3, *s4, *s5 ;
Graph *g1, *g2, *g3, *g4, *g5 ;
Matching *m1, *m2, *m3, *m4, *m5 ;
BFSAPHeuristic *aph1, *aph2, *aph3, *aph4, *aph5 ;
Globals gl1, gl2, gl3, gl4, gl5 ;
} ;
#endif // ndef SH_BFSAPHEURISTICTEST_H
BFSAPHeuristicTest::s2
Selector * s2
Definition: BFSAPHeuristicTest.h:45
BFSAPHeuristicTest::aph5
BFSAPHeuristic * aph5
Definition: BFSAPHeuristicTest.h:48
BFSAPHeuristicTest::g3
Graph * g3
Definition: BFSAPHeuristicTest.h:46
BFSAPHeuristicTest::bs2
BitString * bs2
Definition: BFSAPHeuristicTest.h:43
BFSAPHeuristicTest
Definition: BFSAPHeuristicTest.h:33
BFSAPHeuristicTest::gl1
Globals gl1
Definition: BFSAPHeuristicTest.h:49
BFSAPHeuristicTest::f2
CvrStgFile * f2
Definition: BFSAPHeuristicTest.h:44
BFSAPHeuristicTest::bs4
BitString * bs4
Definition: BFSAPHeuristicTest.h:43
Graph
a graph constructed from a cover file and a message to be embedded
Definition: Graph.h:51
BFSAPHeuristicTest::bs5
BitString * bs5
Definition: BFSAPHeuristicTest.h:43
CvrStgFile
a cover-/stego-file
Definition: CvrStgFile.h:46
BFSAPHeuristicTest::testAlgorithm
void testAlgorithm(void)
Definition: BFSAPHeuristicTest.cc:113
BFSAPHeuristicTest::g4
Graph * g4
Definition: BFSAPHeuristicTest.h:46
BFSAPHeuristic
a matching algorithm implementing a heuristic breadth-first-search for augmenting paths ...
Definition: BFSAPHeuristic.h:36
BFSAPHeuristicTest::s1
Selector * s1
Definition: BFSAPHeuristicTest.h:45
BFSAPHeuristicTest::aph3
BFSAPHeuristic * aph3
Definition: BFSAPHeuristicTest.h:48
BFSAPHeuristicTest::s5
Selector * s5
Definition: BFSAPHeuristicTest.h:45
Globals
some useful pointers that should be global
Definition: Globals.h:52
BFSAPHeuristicTest::BFSAPHeuristicTest
BFSAPHeuristicTest(TestSuite *s)
Definition: BFSAPHeuristicTest.cc:37
BFSAPHeuristicTest::gl4
Globals gl4
Definition: BFSAPHeuristicTest.h:49
BFSAPHeuristicTest::aph4
BFSAPHeuristic * aph4
Definition: BFSAPHeuristicTest.h:48
BFSAPHeuristicTest::m4
Matching * m4
Definition: BFSAPHeuristicTest.h:47
BFSAPHeuristicTest::m2
Matching * m2
Definition: BFSAPHeuristicTest.h:47
BFSAPHeuristicTest::f3
CvrStgFile * f3
Definition: BFSAPHeuristicTest.h:44
BFSAPHeuristicTest::m5
Matching * m5
Definition: BFSAPHeuristicTest.h:47
BFSAPHeuristicTest::gl2
Globals gl2
Definition: BFSAPHeuristicTest.h:49
BFSAPHeuristicTest::g2
Graph * g2
Definition: BFSAPHeuristicTest.h:46
UnitTest
Definition: UnitTest.h:38
Selector
a random permutation of a random combination
Definition: Selector.h:36
Matching
represent a matching on a graph
Definition: Matching.h:41
UnitTest.h
BFSAPHeuristicTest::s4
Selector * s4
Definition: BFSAPHeuristicTest.h:45
BFSAPHeuristicTest::bs3
BitString * bs3
Definition: BFSAPHeuristicTest.h:43
BFSAPHeuristicTest::bs1
BitString * bs1
Definition: BFSAPHeuristicTest.h:43
TestSuite
Definition: TestSuite.h:31
BitString
a string of bits
Definition: BitString.h:42
BFSAPHeuristicTest::m3
Matching * m3
Definition: BFSAPHeuristicTest.h:47
BFSAPHeuristicTest::f4
CvrStgFile * f4
Definition: BFSAPHeuristicTest.h:44
BFSAPHeuristicTest::setup
void setup(void)
Definition: BFSAPHeuristicTest.cc:43
BFSAPHeuristicTest::s3
Selector * s3
Definition: BFSAPHeuristicTest.h:45
TestSuite.h
BFSAPHeuristicTest::f1
CvrStgFile * f1
Definition: BFSAPHeuristicTest.h:44
BFSAPHeuristicTest::gl3
Globals gl3
Definition: BFSAPHeuristicTest.h:49
BFSAPHeuristicTest::f5
CvrStgFile * f5
Definition: BFSAPHeuristicTest.h:44
BFSAPHeuristicTest::g5
Graph * g5
Definition: BFSAPHeuristicTest.h:46
BFSAPHeuristicTest::cleanup
void cleanup(void)
Definition: BFSAPHeuristicTest.cc:103
BFSAPHeuristicTest::aph1
BFSAPHeuristic * aph1
Definition: BFSAPHeuristicTest.h:48
BFSAPHeuristicTest::gl5
Globals gl5
Definition: BFSAPHeuristicTest.h:49
BFSAPHeuristicTest::m1
Matching * m1
Definition: BFSAPHeuristicTest.h:47
BFSAPHeuristicTest::aph2
BFSAPHeuristic * aph2
Definition: BFSAPHeuristicTest.h:48
BFSAPHeuristicTest::g1
Graph * g1
Definition: BFSAPHeuristicTest.h:46