From 2a13f6663e3660ca07db3f24bcb3cc2a44845833 Mon Sep 17 00:00:00 2001 From: Diomidis Spinellis Date: Wed, 28 Dec 2011 14:55:41 +0200 Subject: [PATCH] Add caching possibility --- ExtensiblePartition.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ExtensiblePartition.h b/ExtensiblePartition.h index f944026..f9d806b 100644 --- a/ExtensiblePartition.h +++ b/ExtensiblePartition.h @@ -69,6 +69,7 @@ class ExtensiblePartition { // Return H(p) double hp() { // Create probability vector for H(p) + // TODO: Cache the following two as members and adjust them in add_point vector pp; int npoints = 0; for (int i = 1; i < points.size(); i++) {