-
Notifications
You must be signed in to change notification settings - Fork 10
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
Corrected IsWaist #260
Conversation
Codecov ReportAttention: Patch coverage is
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
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great :).
gap/Paths/paths.gd
Outdated
@@ -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 ) ] |
There was a problem hiding this comment.
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.
gap/Paths/paths.gd
Outdated
@@ -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. |
There was a problem hiding this comment.
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.
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.