File: scarf.h

package info (click to toggle)
gfan 0.3dfsg-1.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,016 kB
  • sloc: cpp: 17,728; makefile: 251
file content (15 lines) | stat: -rw-r--r-- 672 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef SCARF_H_INCLUDED
#define SCARF_H_INCLUDED

#include "matrix.h"

IntegerVectorList neighbours(IntegerMatrix const &A);
bool satisfiesA1(IntegerMatrix const &A);
bool satisfiesA2(IntegerMatrix const &A);
bool satisfiesA3(IntegerMatrix const &A, IntegerVectorList const *N=0);
IntegerVectorList orientedNeighbours(IntegerVectorList const& N, IntegerVector const &v);
IntegerVector kFlip(IntegerMatrix const &A, IntegerMatrix const &N, IntegerVector simplex, int vertex);
void traverseScarfComplex(IntegerMatrix const &A, IntegerMatrix const &N, IntegerVector simplex);
IntegerVector computeMaximalScarfSimplex(IntegerMatrix const &A, IntegerMatrix const &N);

#endif