atlas  0.6
Classes | Typedefs | Functions | Variables
KLread.cpp File Reference
#include <string>
#include <vector>
#include <iostream>
#include <stdexcept>
#include <fstream>
#include <bitset>
#include <cassert>
#include <algorithm>
#include <sstream>
#include <cctype>
#include <memory>
Include dependency graph for KLread.cpp:

Classes

class  polynomial_info
 
struct  block_info
 
class  matrix_info
 
class  progress_info
 

Typedefs

typedef unsigned long long int ullong
 
typedef ullong KLIndex
 
typedef unsigned int BlockElt
 
typedef std::bitset< 32 > RankFlags
 
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

unsigned int add_bits (unsigned long int x)
 
template<unsigned int n>
ullong read_bytes (std::istream &in)
 
template<>
ullong read_bytes< 1 > (std::istream &in)
 
ullong read_var_bytes (unsigned int n, std::istream &in)
 
void write_int (unsigned int n, std::ostream &out)
 
BlockElt locate_KL_polynomial (KLIndex i, matrix_info &mi, BlockElt y)
 
std::pair< BlockElt, BlockEltlocate_KL_polynomial (KLIndex i, matrix_info &mi, const progress_info &pi)
 
void usage ()
 
int main (int argc, char **argv)
 

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
 
const unsigned int work_in_progress =0x76543210
 
bool verbose =true
 

Typedef Documentation

typedef std::vector<ascent_vector> ascent_table
typedef std::vector<BlockElt> ascent_vector
typedef unsigned int BlockElt
typedef std::vector<RankFlags> descent_set_vector
typedef ullong KLIndex
typedef std::vector<BlockElt> prim_list
typedef std::vector<prim_list> prim_table
typedef std::bitset<32> RankFlags
typedef unsigned long long int ullong

Function Documentation

unsigned int add_bits ( unsigned long int  x)
BlockElt locate_KL_polynomial ( KLIndex  i,
matrix_info mi,
BlockElt  y 
)
std::pair<BlockElt,BlockElt> locate_KL_polynomial ( KLIndex  i,
matrix_info mi,
const progress_info pi 
)
int main ( int  argc,
char **  argv 
)
template<unsigned int n>
ullong read_bytes ( std::istream &  in)
inline
template<>
ullong read_bytes< 1 > ( std::istream &  in)
inline
ullong read_var_bytes ( unsigned int  n,
std::istream &  in 
)
void usage ( )
void write_int ( unsigned int  n,
std::ostream &  out 
)

Variable Documentation

const std::ios_base::openmode binary_in
Initial value:
=
std::ios_base::in
| std::ios_base::binary
const std::ios_base::openmode binary_in_out
Initial value:
=
std::ios_base::in
| std::ios_base::binary
#define out(c)
Definition: cweave.c:205
const unsigned int magic_code =0x06ABdCF0
const BlockElt noGoodAscent = UndefBlock-1
const BlockElt UndefBlock = ~BlockElt(0)
bool verbose =true
const unsigned int work_in_progress =0x76543210