GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
//1// bistellar_move.cpp2// Bistellar3//4// Created by Alexander Thumm on 07.10.11.5// Copyright 2011 -. All rights reserved.6//78#include "bistellar_move.h"910BistellarMove::BistellarMove() : _face(), _link()11{1213}1415BistellarMove::BistellarMove(const Face & face, const Face & link) : _face(face), _link(link)16{1718}1920BistellarMove::BistellarMove(const BistellarMove & cpy)21{22_face = cpy._face;23_link = cpy._link;24}2526BistellarMove & BistellarMove::operator=(const BistellarMove & cpy)27{28if (this == &cpy)29return *this;3031_face = cpy._face;32_link = cpy._link;3334return *this;35}3637BistellarMove::~BistellarMove()38{3940}4142bool BistellarMove::operator==(const BistellarMove & cmp) const43{44return _face == cmp._face && _link == cmp._link;45}4647bool BistellarMove::operator!=(const BistellarMove & cmp) const48{49return !(*this == cmp);50}5152const Face & BistellarMove::face() const53{54return _face;55}5657const Face & BistellarMove::link() const58{59return _link;60}6162unsigned int BistellarMove::dimension() const63{64return _face.dimension();65}6667unsigned int BistellarMove::codimension() const68{69return (_link.dimension() == -1) ? 0 : _link.dimension();70}7172// serialization methods73std::ostream & operator<< (std::ostream & os, const BistellarMove & move)74{75os << "[" << move._face << "," << move._link << "]";76return os;77}78std::istream & operator>> (std::istream & is, BistellarMove & move)79{80return is;81}8283