#ifndef UTIL_H_ #define UTIL_H_ #include #include "Locus.h" #include #include #include namespace p2p{ const int LABEL_SIZE = sizeof(unsigned int); const int LOCUS_PARTITIONS = LOCUS_SIZE/LABEL_SIZE; void pushLabel(std::vector & inLabelStack, unsigned int inLabel); void pushLocus(std::vector & inLabelStack, Locus inLocus); unsigned int popLabel(std::vector & inLabelStack); Locus popLocus(std::vector & inLabelStack); Locus topLocus(std::vector & inLabelStack); unsigned int topLabel(std::vector & inLabelStack); void printLabelStack(std::vector & inLabelStack); } #endif /*UTIL_H_*/