[jira] [Commented] (MATH-1437) Add/extend unit tests for o.a.c.m.geometry.partitioning and related packages

2018-01-27 Thread Matt Juntunen (JIRA)

[ 
https://issues.apache.org/jira/browse/MATH-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16342274#comment-16342274
 ] 

Matt Juntunen commented on MATH-1437:
-

Thanks! I am planning on adding some more updates. Here's what I have in mind 
so far (time-willing):
 # Finish adding unit tests for the other packages mentioned in this issue in 
order to flush out any remaining bugs (I know there are at least a couple left) 
and provide a good base for refactoring later on.
 # Create a separate commons-geometry project like you have mentioned earlier.
 # Update/clean up the API to make it easier to use. It's kind of a beast right 
now. One of the biggest things I'd like to change is all of the type casts 
necessary in order to perform any kind of meaningful operation. There are 
general interfaces for all of the types, but in many places the code has to 
assume a particular concrete implementation and cast to it in order to do 
useful work.
 # Look into improving performance, especially for bsp tree creation from 
boundaries. Right now, the code  takes over a minute to create a PolyhedronsSet 
for the utah teapot (~1500 facets). Other libraries I've used could do 
approximately the same thing in a few milliseconds. Admittedly, these other 
libraries don't have the features that commons-math does, but still, a minute 
is way too long here.

I would like to add classes for reading and writing geometry data from other 
file formats but I think the core functionality needs polishing first.

> Add/extend unit tests for o.a.c.m.geometry.partitioning and related packages
> 
>
> Key: MATH-1437
> URL: https://issues.apache.org/jira/browse/MATH-1437
> Project: Commons Math
>  Issue Type: Test
>Affects Versions: 4.X
>Reporter: Matt Juntunen
>Priority: Major
> Fix For: 4.X
>
>
> Additional unit tests should be added for the following packages:
>  * o.a.c.m.geometry.partitioning
>  * o.a.c.m.geometry.euclidean.oned
>  * o.a.c.m.geometry.euclidean.twod
>  * o.a.c.m.geometry.euclidean.threed
> The current tests provide adequate code coverage but don't seem to thoroughly 
> exercise the code base and check edge cases.
>  
> Pull request: https://github.com/apache/commons-math/pull/77



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MATH-1437) Add/extend unit tests for o.a.c.m.geometry.partitioning and related packages

2018-01-26 Thread Gilles (JIRA)

[ 
https://issues.apache.org/jira/browse/MATH-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16340976#comment-16340976
 ] 

Gilles commented on MATH-1437:
--

Merged in "master": commit 54fa0a855e549ae2a9f8445d71cbd01e8377e353

I noticed that you added a class for generating output with a specific file 
format.
Perhaps this would be useful outside unit tests too (?).

It's great that you help with this code!  Do you have more in store?
It would be interesting to post on the "dev" ML about what you do with the 
library.

> Add/extend unit tests for o.a.c.m.geometry.partitioning and related packages
> 
>
> Key: MATH-1437
> URL: https://issues.apache.org/jira/browse/MATH-1437
> Project: Commons Math
>  Issue Type: Test
>Affects Versions: 4.X
>Reporter: Matt Juntunen
>Priority: Major
> Fix For: 4.X
>
>
> Additional unit tests should be added for the following packages:
>  * o.a.c.m.geometry.partitioning
>  * o.a.c.m.geometry.euclidean.oned
>  * o.a.c.m.geometry.euclidean.twod
>  * o.a.c.m.geometry.euclidean.threed
> The current tests provide adequate code coverage but don't seem to thoroughly 
> exercise the code base and check edge cases.
>  
> Pull request: https://github.com/apache/commons-math/pull/77



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MATH-1437) Add/extend unit tests for o.a.c.m.geometry.partitioning and related packages

2018-01-25 Thread Matt Juntunen (JIRA)

[ 
https://issues.apache.org/jira/browse/MATH-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16340528#comment-16340528
 ] 

Matt Juntunen commented on MATH-1437:
-

I just created a pull request for the oned and threed packages. The twod 
package still needs some work.

> Add/extend unit tests for o.a.c.m.geometry.partitioning and related packages
> 
>
> Key: MATH-1437
> URL: https://issues.apache.org/jira/browse/MATH-1437
> Project: Commons Math
>  Issue Type: Test
>Affects Versions: 4.X
>Reporter: Matt Juntunen
>Priority: Major
> Fix For: 4.X
>
>
> Additional unit tests should be added for the following packages:
>  * o.a.c.m.geometry.partitioning
>  * o.a.c.m.geometry.euclidean.oned
>  * o.a.c.m.geometry.euclidean.twod
>  * o.a.c.m.geometry.euclidean.threed
> The current tests provide adequate code coverage but don't seem to thoroughly 
> exercise the code base and check edge cases.
>  
> Pull request: https://github.com/apache/commons-math/pull/77



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (MATH-1437) Add/extend unit tests for o.a.c.m.geometry.partitioning and related packages

2017-12-25 Thread Gilles (JIRA)

[ 
https://issues.apache.org/jira/browse/MATH-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16303185#comment-16303185
 ] 

Gilles commented on MATH-1437:
--

Thanks for contributing to this package.

Beware to not use tabs for code indentation (cf. MATH-1436) and to remove 
trailing spaces.
On the command line, {{git diff -c}} will highlight tabs and trailing spaces.
You should also run {{mvn site}} to create project reports (in subdirectory 
{{target/site}}), and ensure that there are no violations of the project rules.
Thanks again for your help.

> Add/extend unit tests for o.a.c.m.geometry.partitioning and related packages
> 
>
> Key: MATH-1437
> URL: https://issues.apache.org/jira/browse/MATH-1437
> Project: Commons Math
>  Issue Type: Test
>Affects Versions: 4.X
>Reporter: Matt Juntunen
> Fix For: 4.X
>
>
> Additional unit tests should be added for the following packages:
> * o.a.c.m.geometry.partitioning
> * o.a.c.m.geometry.euclidean.oned
> * o.a.c.m.geometry.euclidean.twod
> * o.a.c.m.geometry.euclidean.threed
> The current tests provide adequate code coverage but don't seem to thoroughly 
> exercise the code base and check edge cases.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (MATH-1437) Add/extend unit tests for o.a.c.m.geometry.partitioning and related packages

2017-12-24 Thread Matt Juntunen (JIRA)

[ 
https://issues.apache.org/jira/browse/MATH-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16302937#comment-16302937
 ] 

Matt Juntunen commented on MATH-1437:
-

I've created branch [link 
test-MATH-1437|https://github.com/darkma773r/commons-math/tree/test-MATH-1437] 
on my github fork to track work on this.

> Add/extend unit tests for o.a.c.m.geometry.partitioning and related packages
> 
>
> Key: MATH-1437
> URL: https://issues.apache.org/jira/browse/MATH-1437
> Project: Commons Math
>  Issue Type: Test
>Affects Versions: 4.X
>Reporter: Matt Juntunen
> Fix For: 4.X
>
>
> Additional unit tests should be added for the following packages:
> * o.a.c.m.geometry.partitioning
> * o.a.c.m.geometry.euclidean.oned
> * o.a.c.m.geometry.euclidean.twod
> * o.a.c.m.geometry.euclidean.threed
> The current tests provide adequate code coverage but don't seem to thoroughly 
> exercise the code base and check edge cases.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)