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

New Incidence Structure and Block Design constructions #7422

Closed
brettpim mannequin opened this issue Nov 10, 2009 · 11 comments
Closed

New Incidence Structure and Block Design constructions #7422

brettpim mannequin opened this issue Nov 10, 2009 · 11 comments

Comments

@brettpim
Copy link
Mannequin

brettpim mannequin commented Nov 10, 2009

I have added two references; fixed the points() method to return points in lexicographic order so __eq__ works properly; made is_simple() its own standalone method and call it from block_design_checker and added the following constructions: Derived at a Point, Residual at a Point, Derived at a Block, Residual at a Block, Complementary, Supplementary, Point Deletion and Extraction of Blocks by size.

Some relevant discussion is here:

http://groups.google.com/group/sage-devel/browse_thread/thread/305158ab5d3181bc

Reviewers:

  • Please think about my first item on the TODO list; is that a better way to proceed with derived_blck and residual_blck?

-I do not know whether this is "Minor" or "Major" (I am pretty sure it is not the others) so I have put "Major". Please tell me if I was wrong.

  • I have no idea what to put in Milestone so I have left it blank.

CC: @rbeezer @wdjoyner

Component: combinatorics

Keywords: Block Design, Incidence Structure, Residual, Derived, Complement, Supplement, Point Deletion

Author: Brett Stevens

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

@brettpim brettpim mannequin assigned mwhansen Nov 10, 2009
@brettpim brettpim mannequin added the s: needs review label Nov 10, 2009
@jasongrout
Copy link
Member

comment:2

Just a python and Sage style note: unless there is a huge significant reason, things in function names should be spelled out. So, for example, residual_pt should be residual_point, blck should be "block", etc. This makes a huge difference in readability for someone that is using the module, reading code written by others, etc.

@brettpim
Copy link
Mannequin Author

brettpim mannequin commented Nov 10, 2009

comment:3

Replying to @jasongrout:

Just a python and Sage style note: unless there is a huge significant reason, things in function names should be spelled out. So, for example, residual_pt should be residual_point, blck should be "block", etc. This makes a huge difference in readability for someone that is using the module, reading code written by others, etc.

OK, I will make this change, thanks.

@brettpim
Copy link
Mannequin Author

brettpim mannequin commented Nov 14, 2009

Attachment: trac_7422_block_design_constructions.patch.gz

Patch with new constructions

@brettpim
Copy link
Mannequin Author

brettpim mannequin commented Nov 14, 2009

comment:4

I have changed the function names so they are all fully descriptive of what they do.

I also have a question. When I run:

sage -coverage Projects/SAGE/sage-source/devel/sage/sage/combinat/designs/incidence_structures.py

I do get 100% coverage but I also get:

ERROR: Please add a TestSuite(s).run() doctest.

I have looked in the sage reference manual and the developers guide to see what this is and how I add such a thing, but to no avail. If someone knows what this is please tell me or send a link to a page that describes it. When I know what to do, I will add one of these.

@jasongrout
Copy link
Member

comment:5

Here is the patch for adding such a thing to matrices in Sage. You might find the code useful as an example.

#6936

Here is the ticket that introduced the framework:

#6343

I don't know where this is documented, but there probably is a mailing list message or two about it.

@sagetrac-drkirkby
Copy link
Mannequin

sagetrac-drkirkby mannequin commented Feb 21, 2010

comment:6

Has this been checked on Solaris?

There's general information about building on Solaris at

http://wiki.sagemath.org/solaris

Information specifically for 't2' at

http://wiki.sagemath.org/devel/Building-Sage-on-the-T5240-t2

Both the source (4.3.0.1 is the latest to build on Solaris) and a binary which will run on any SPARC can be found at http://www.sagemath.org/download-source.html

Dave

@sagetrac-drkirkby sagetrac-drkirkby mannequin unassigned mwhansen Feb 21, 2010
@nathanncohen
Copy link
Mannequin

nathanncohen mannequin commented May 16, 2010

comment:7

I do not know if this patch is still necessary, but if it is it needs to be rebased.

12 out of 12 hunks FAILED -- saving rejects to file sage/combinat/designs/incidence_structures.py.rej

Nathann

@brettpim brettpim mannequin self-assigned this Mar 10, 2015
@nathanncohen
Copy link
Mannequin

nathanncohen mannequin commented Mar 10, 2015

comment:9

@brettpim: here is [1] the procedure to follow if you want to close this ticket. Note that while the doc says that you should switch it to 'needs review'first, we usually directly change the status to 'positive review' in this specific case.

Nathann

[1] http://www.sagemath.org/doc/developer/trac.html#reviewing-and-closing-tickets

@brettpim
Copy link
Mannequin Author

brettpim mannequin commented Mar 10, 2015

comment:10

This ticket should be closed. It has been superseded by ticket #16534

@vbraun
Copy link
Member

vbraun commented Mar 12, 2015

comment:12

you should also set the milestone to duplicate...

@brettpim
Copy link
Mannequin Author

brettpim mannequin commented Mar 13, 2015

comment:14

thanks

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

3 participants