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

more practical construction of word paths #8407

Closed
seblabbe opened this issue Mar 1, 2010 · 10 comments
Closed

more practical construction of word paths #8407

seblabbe opened this issue Mar 1, 2010 · 10 comments

Comments

@seblabbe
Copy link
Contributor

seblabbe commented Mar 1, 2010

Improve the construction of word path parent : creation from 2*n letters and n vectors now works (it takes the opposite of vectors).

CC: @sagetrac-abmasse

Component: combinatorics

Author: Sébastien Labbé

Reviewer: Alexandre Blondin Massé, Nathann Cohen

Merged: sage-4.4.1.alpha2

Issue created by migration from https://trac.sagemath.org/ticket/8407

@seblabbe seblabbe added this to the sage-4.4.1 milestone Mar 1, 2010
@seblabbe seblabbe self-assigned this Mar 1, 2010
@sagetrac-abmasse
Copy link
Mannequin

sagetrac-abmasse mannequin commented Mar 1, 2010

comment:2

These functions are really interesting ! I can't wait to use them. However, here are some comments:

  1. I think this patch is a good occasion to add functions such as rotate() and reflects() (with pertinent parameters) that compute ONE rotated or reflected version of the path instead of all EIGHT at the same time. This wouldn't be too long to do and then your function isometries() could call them.

  2. I don't understand why you use the parameter reversal. If I understand it well, it is the word reversal operator, which can be geometrically interpreted as performing a rotation of angle pi (of the path) together with an orientation reversal of the path. It seems more natural to me that the parameter reversal correspond simply to the orientation reversal rather than to the word reversal.

  3. I noticed that you do not use the word "self" while documenting, but you use "path" or other similar words. I'm not sure which one is a good practice, but I think it is better to use the first one (I'm really not sure about it, so maybe you can correct me).

What do you think ?

@sagetrac-abmasse
Copy link
Mannequin

sagetrac-abmasse mannequin commented Mar 21, 2010

comment:3

Just noticed I should have set this ticket to "needs work". Done.

@seblabbe

This comment has been minimized.

@seblabbe
Copy link
Contributor Author

comment:4

I removed one of the objectives of the ticket related to isometries. Indeed, I need this function for another problem so I think its use will be more understood in context. So that is why I removed this part from this ticket. I will create a new ticket for it soon.

@seblabbe seblabbe changed the title word paths isometries + improve construction more practical construction of word paths Apr 11, 2010
@seblabbe
Copy link
Contributor Author

Attachment: trac_8407_word-paths-sl.patch.gz

@nathanncohen
Copy link
Mannequin

nathanncohen mannequin commented Apr 24, 2010

comment:6

Applies fine, does it job :-)

Thank you for your work !

Nathann

@williamstein
Copy link
Contributor

Merged: 4.4.1.alpha2

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Apr 29, 2010

Reviewer: Alexandre Blondin Massé, Nathann Cohen

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented Apr 29, 2010

Author: Sébastien Labbé

@sagetrac-mvngu
Copy link
Mannequin

sagetrac-mvngu mannequin commented May 3, 2010

Changed merged from 4.4.1.alpha2 to sage-4.4.1.alpha2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants