Added concentric coloring

Can either of you think of a way to do this without passing a center to the concentric coloring method?
Ah good idea. I'm not at a computer now but I'll add that later.
On Sat, Oct 25, 2014 at 9:47 PM Alex Mark <notifications@github.com> wrote:

> In src/watermelon/group1/ColoringAlgos.java:
>
> > @@ -15,4 +16,42 @@ public static void colorGreedy(ArrayList<SeedNode> list) {
> >  				node.ploidy = SeedNode.Ploidies.DIPLOID;
> >  		}
> >  	}
> > +	
> > +	/*
> > +	 * Creates concentric hexagons (theoretically)
> > +	 */
> > +	public static void colorConcentric(ArrayList<SeedNode> list, Location boardCenter) {
> > +		SeedNode closestToCenter = list.get(list.size()/2);
> > +		double closestDistanceToCenter = closestToCenter.distanceTo(boardCenter);
> > +		
> > +		for (SeedNode node: list) {
>
> Can you separate out the method for finding a center point, and then pass
> the starting seed into this method?
>
> We might get some interesting results coloring concentrically from the top
> left corner, or from a place that isn't the center.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/adamreis/watermelon/pull/5/files#r19378537>.
>