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
Comments
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. |
comment:3
Replying to @jasongrout:
OK, I will make this change, thanks. |
Attachment: trac_7422_block_design_constructions.patch.gz Patch with new constructions |
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 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. |
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 |
comment:7
I do not know if this patch is still necessary, but if it is it needs to be rebased.
Nathann |
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 |
comment:10
This ticket should be closed. It has been superseded by ticket #16534 |
comment:12
you should also set the milestone to duplicate... |
comment:14
thanks |
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:
-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.
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
The text was updated successfully, but these errors were encountered: