// // $Id: split_l.h 4034 2008-10-03 01:17:40Z rares $ // // split_h.cpp // // Copyright (C) 2003 - 2007 by The Regents of the University of // California // // Redistribution of this file is permitted under the terms of the // BSD license // // Date: March 2002 // // Authors: Michael Ortega-Binderberger (miki (at) ics.uci.edu) // Liang Jin (liangj (at) ics.uci.edu) // Chen Li (chenli (at) ics.uci.edu) // /*----------------------------------------------------------------------------- | Definitions and global variables used in linear split code. -----------------------------------------------------------------------------*/ #define MinNodeFill (NODECARD / 2) #define MinLeafFill (NODECARD / 2) #define METHODS 1 struct Branch BranchBuf[NODECARD+1]; int BranchCount; struct Rect CoverSplit; /* variables for finding a partition */ struct PartitionVars { int partition[NODECARD+1]; int total, minfill; int taken[NODECARD+1]; int count[2]; struct Rect cover[2]; RectReal area[2]; } Partitions[METHODS];