package com.github.davidmoten.rtree;

import com.google.common.base.Preconditions;

public class Context {
	private static final int MAX_CHILDREN_DEFAULT = 4;
	public static final Context DEFAULT = new Context(MAX_CHILDREN_DEFAULT,
			new QuadraticSplitter());

	private final int maxChildren;
	private final Splitter splitter;

	public Context(int maxChildren, Splitter splitter) {
		Preconditions.checkNotNull(splitter);
		Preconditions.checkArgument(maxChildren > 2);
		this.maxChildren = maxChildren;
		this.splitter = splitter;
	}

	public int maxChildren() {
		return maxChildren;
	}

	public Splitter splitter() {
		return splitter;
	}

}

@@ -153,9 +153,10 @@
 T = 
-4
+32
 ;%0A%09p

change default max children