Minor patch to GPArea. MK branch merge.

This commit is contained in:
Marcel Kronfeld 2009-05-06 17:16:55 +00:00
parent d52694d3e8
commit 12af483913

View File

@ -134,4 +134,8 @@ public class GPArea implements java.io.Serializable {
if (tmpArray.size() == 0) return null;
else return (AbstractGPNode)tmpArray.get(RNG.randomInt(0, tmpArray.size()-1));
}
public boolean isEmpty() {
return (m_CompleteList==null) || (m_CompleteList.size()==0);
}
}