Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

atlas::filekl Namespace Reference


Classes

class  atlas::filekl::polynomial_info
class  atlas::filekl::cached_pol_info
struct  atlas::filekl::block_info
class  atlas::filekl::matrix_info
class  atlas::filekl::progress_info

Typedefs

typedef tally::TallyVec< unsigned
char > 
tally_vec
typedef unsigned long long int ullong
typedef ullong KLIndex
typedef std::vector< RankFlagsdescent_set_vector
typedef std::vector< BlockEltascent_vector
typedef std::vector< ascent_vectorascent_table
typedef std::vector< BlockEltprim_list
typedef std::vector< prim_listprim_table
typedef prim_list strong_prim_list

Functions

std::vector< unsigned int > prim_multiplicities (matrix_info &m, BlockElt y)
void scan_matrix (matrix_info &m, size_t n_pol, bool with_multiplicities, std::ostream &y_out, std::ostream &tally_out, std::ostream &length_out)
void scan_polynomials (const atlas::filekl::block_info &bi, const atlas::filekl::polynomial_info &pi, const atlas::filekl::progress_info &ri, const tally_vec &prim_mu, const tally_vec &total_mu, const std::string file_name_base)
size_t gcd (size_t a, size_t b)
void scan_polynomials (const atlas::filekl::block_info &bi, const atlas::filekl::polynomial_info &pi, const atlas::filekl::progress_info &ri, const std::string file_name_base)
void write_block_file (const blocks::Block &block, std::ostream &out)
std::streamoff write_KL_row (const kl::KLContext &klc, BlockElt y, std::ostream &out)
void write_matrix_file (const kl::KLContext &klc, std::ostream &out)
void write_KL_store (const kl::KLStore &store, std::ostream &out)

Variables

const BlockElt UndefBlock = ~BlockElt(0)
const BlockElt noGoodAscent = UndefBlock-1
const std::ios_base::openmode binary_in
const std::ios_base::openmode binary_in_out
const unsigned int magic_code = 0x06ABdCF0


Typedef Documentation

typedef std::vector<ascent_vector> atlas::filekl::ascent_table
 

Definition at line 84 of file filekl.h.

typedef std::vector<BlockElt> atlas::filekl::ascent_vector
 

Definition at line 83 of file filekl.h.

Referenced by atlas::filekl::block_info::block_info(), and block_info::block_info().

typedef std::vector<RankFlags> atlas::filekl::descent_set_vector
 

Definition at line 81 of file filekl.h.

typedef ullong atlas::filekl::KLIndex
 

Definition at line 35 of file filekl.h.

Referenced by atlas::filekl::matrix_info::find_pol_nr(), matrix_info::find_pol_nr(), and atlas::wgraph::wGraph().

typedef std::vector<BlockElt> atlas::filekl::prim_list
 

Definition at line 86 of file filekl.h.

Referenced by atlas::filekl::block_info::prims_for_descents_of(), and block_info::prims_for_descents_of().

typedef std::vector<prim_list> atlas::filekl::prim_table
 

Definition at line 87 of file filekl.h.

typedef prim_list atlas::filekl::strong_prim_list
 

Definition at line 117 of file filekl.h.

typedef tally::TallyVec< unsigned char > atlas::filekl::tally_vec
 

Definition at line 20 of file matstat.cpp.

Referenced by main(), scan_matrix(), and scan_polynomials().

typedef unsigned long long int atlas::filekl::ullong
 

Definition at line 33 of file filekl.h.


Function Documentation

size_t gcd size_t  a,
size_t  b
 

Definition at line 192 of file polstat.cpp.

std::vector<unsigned int> prim_multiplicities matrix_info m,
BlockElt  y
 

Definition at line 25 of file matstat.cpp.

References atlas::filekl::matrix_info::primitivize(), strong_prim_list, and atlas::filekl::matrix_info::strongly_primitives().

Referenced by scan_matrix().

void scan_matrix matrix_info m,
size_t  n_pol,
bool  with_multiplicities,
std::ostream &  y_out,
std::ostream &  tally_out,
std::ostream &  length_out
 

Definition at line 41 of file matstat.cpp.

References atlas::tally::TallyVec< Count >::advance(), atlas::filekl::matrix_info::block_size(), atlas::tally::TallyVec< Count >::derived(), atlas::filekl::matrix_info::find_pol_nr(), atlas::filekl::matrix_info::first_of_length(), atlas::tally::TallyVec< Count >::lower(), atlas::tally::TallyVec< Count >::multiplicity(), prim_multiplicities(), atlas::basic_io::put_int(), atlas::tally::TallyVec< Count >::size(), strong_prim_list, atlas::filekl::matrix_info::strongly_primitives(), atlas::tally::TallyVec< Count >::tally(), tally_vec, ullong, and atlas::tally::TallyVec< Count >::write_to().

Referenced by main().

void scan_polynomials const atlas::filekl::block_info bi,
const atlas::filekl::polynomial_info pi,
const atlas::filekl::progress_info ri,
const std::string  file_name_base
 

Definition at line 205 of file polstat.cpp.

References atlas::tally::TallyVec< Count >::advance(), atlas::arithmetic::gcd(), atlas::tally::TallyVec< Count >::multiplicity(), atlas::tally::TallyVec< Count >::size(), atlas::tally::TallyVec< Count >::tally(), tally_vec, and atlas::tally::TallyVec< Count >::write_to().

void scan_polynomials const atlas::filekl::block_info bi,
const atlas::filekl::polynomial_info pi,
const atlas::filekl::progress_info ri,
const tally_vec prim_mu,
const tally_vec total_mu,
const std::string  file_name_base
 

Definition at line 21 of file polstat.cpp.

References tally_vec.

Referenced by main().

void atlas::filekl::write_block_file const blocks::Block &  block,
std::ostream &  out
 

Definition at line 35 of file filekl.cpp.

References atlas::blocks::Block::cayley(), atlas::blocks::Block::cross(), atlas::blocks::Block::descentValue(), atlas::blocks::Block::isWeakDescent(), atlas::blocks::Block::length(), noGoodAscent, atlas::basic_io::put_int(), atlas::blocks::Block::rank(), atlas::lietype::rank(), atlas::bitset::RankFlags, atlas::bitset::BitSet< n >::set(), atlas::blocks::Block::size(), and atlas::bitset::BitSet< n >::to_ulong().

Referenced by atlas::blockwrite_f().

std::streamoff write_KL_row const kl::KLContext &  klc,
BlockElt  y,
std::ostream &  out
 

Definition at line 170 of file filekl.cpp.

References atlas::bitmap::BitMap::capacity(), atlas::kl::KLContext::klRow(), atlas::kl::KLContext::primMap(), atlas::basic_io::put_int(), atlas::bitmap::BitMap::range(), and atlas::bitmap::BitMap::size().

Referenced by write_matrix_file().

void atlas::filekl::write_KL_store const kl::KLStore store,
std::ostream &  out
 

Definition at line 371 of file filekl.cpp.

References atlas::basic_io::put_int().

Referenced by atlas::klwrite_f().

void atlas::filekl::write_matrix_file const kl::KLContext &  klc,
std::ostream &  out
 

Definition at line 199 of file filekl.cpp.

References magic_code, atlas::basic_io::put_int(), atlas::kl::KLContext::size(), and write_KL_row().

Referenced by atlas::klwrite_f().


Variable Documentation

const std::ios_base::openmode atlas::filekl::binary_in
 

Initial value:

                            std::ios_base::in
                          | std::ios_base::binary

Definition at line 24 of file filekl.cpp.

const std::ios_base::openmode atlas::filekl::binary_in_out
 

Initial value:

                            std::ios_base::in
                          | std::ios_base::out
                          | std::ios_base::binary

Definition at line 28 of file filekl.cpp.

const unsigned int atlas::filekl::magic_code = 0x06ABdCF0
 

Definition at line 28 of file filekl.h.

const BlockElt atlas::filekl::noGoodAscent = UndefBlock-1
 

Definition at line 22 of file filekl.cpp.

const BlockElt atlas::filekl::UndefBlock = ~BlockElt(0)
 

Definition at line 21 of file filekl.cpp.


Generated on Wed Mar 26 16:52:25 2008 for atlas by  doxygen 1.3.9.1