File: 2.5.2

package info (click to toggle)
gap-hap 1.66%2Bds-1
  • links: PTS
  • area: main
  • in suites: trixie
  • size: 55,348 kB
  • sloc: xml: 15,368; sh: 216; javascript: 155; makefile: 126; ansic: 57; perl: 36
file content (9 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#The example uses GraphViz software.
file:=HapFile("data252.txt");
Read(file);
G:=SymmetricMatrixToFilteredGraph(D,50,50);;
K:=FilteredRegularCWComplex(CliqueComplex(G,2));
BarCodeCompactDisplay(PersistentBettiNumbers(K,1));;
Y:=FiltrationTerm(K,15);
M:=ContractedComplex(HomotopyGraph(Y));
Display(M);