Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected IsWaist #260

Merged
merged 8 commits into from
Sep 11, 2024
Merged

Conversation

MeikeWeiss
Copy link
Collaborator

In the definition of waists it was missing that the paths of n-waist for n>3 must be distance-faithful. I added this to the definition and in the method IsWaist.

Copy link

codecov bot commented Feb 14, 2024

Codecov Report

Attention: Patch coverage is 60.00000% with 8 lines in your changes missing coverage. Please review.

Project coverage is 76.73%. Comparing base (f4d62f8) to head (65a4bf6).
Report is 9 commits behind head on master.

Files with missing lines Patch % Lines
gap/Paths/paths.gi 60.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #260      +/-   ##
==========================================
- Coverage   76.74%   76.73%   -0.01%     
==========================================
  Files          61       61              
  Lines       16363    16381      +18     
==========================================
+ Hits        12557    12570      +13     
- Misses       3806     3811       +5     
Files with missing lines Coverage Δ
gap/Paths/paths.gd 100.00% <ø> (ø)
gap/Paths/paths.gi 79.57% <60.00%> (-0.15%) ⬇️

TomGoertzen
TomGoertzen previously approved these changes Jun 23, 2024
Copy link
Collaborator

@TomGoertzen TomGoertzen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great :).

@@ -1305,7 +1308,10 @@ DeclareAttribute( "AllThreeWaistsOfComplex", IsTwistedPolygonalComplex);
#! For example, consider the double tetrahedron from the start of section <Ref Sect="Section_Waists"/>:
#! @BeginExampleSession
#! gap> AllWaistsOfComplex(doubleTetra);
#! [ ( v5, E10, v4, E7, v3, E8, v5 ), ( v5, E12, v6, E9, v3, E8, v5 ) ]
#! [ ( v4, E7, v3, E8, v5, E10, v4 ), ( v5, E8, v3, E9, v6, E12, v5 ) ]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The DoubleTetrahedron should have exactly one waist, namely a 3-waist.
I think the surface that is referenced at this point is the multi-tetrahedral sphere with 8 faces. (obtained by applying two tetrahedral extensions to the tetrahedron)

Renaming the surface and also the parameter would be better in order to not cause any confusion.

@@ -1197,7 +1197,10 @@ DeclareAttribute( "ViewInformation", IsEdgeFacePath );
#! @Section Waists
#! @SectionLabel Waists
#! This section deals with a specific type of closed vertex-edge-paths, namely waists.
#! A n-waist is a closed vertex-edge path of length n such that all edges are inner and no two are incident to the same face.
#! A <M>n</M>-waist is a closed vertex-edge path of length <M>n</M> such that all edges are inner and no two are incident to the same face.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried to write the following paragraph based on the definition of a waist that is provided in the book. Maybe this can replace the lines 1200-1203.

In order to introduce the definition of a waist of a simplicial surface, we first present the definition of a distance-faithful path. Here, a closed edge path P of a given simplicial surface is called distance-faithful if for any two vertices of the path P at least one shortest edge path between them is contained in P. Using the above notion we introduce waists of simplicial surfaces.
Let therefore n be a natural number. If n satisfies 2 <=n<=3, then an n-waist of a given simplicial surface is defined as a circular edge path of length n such that all edges are inner and no two are incident to the same face.
Moreover, if the given simplicial surface is closed without 3-waists and the inequality n>=4 holds, we define an n-waist as a closed distance-faithful edge path of length n.

@ReymondAkpanya ReymondAkpanya merged commit 25baabb into gap-packages:master Sep 11, 2024
4 checks passed
@MeikeWeiss MeikeWeiss deleted the meike/waists branch September 12, 2024 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants