MASON-INTEREST-L Archives

March 2017

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Date:
Mon, 6 Mar 2017 19:05:16 +0100
MIME-version:
1.0 (Mac OS X Mail 7.3 \(1878.6\))
Reply-To:
MASON Multiagent Simulation Toolkit <[log in to unmask]>
Content-type:
text/plain; charset=iso-8859-1
Subject:
From:
Sean Luke <[log in to unmask]>
In-Reply-To:
Message-ID:
Content-Transfer-Encoding:
8bit
Parts/Attachments:
text/plain (15 lines)
On Mar 6, 2017, at 6:50 PM, Axel Kowald <[log in to unmask]> wrote:

> Btw., how do you manage to cull the data without distorting the shape of the diagram ?
> 
> Do you still keep all data points and then only display a subset, or do you really delete data ?


We're really deleting data.  

There are different culling strategies, and you can implement your own.  But the strategy we're using is in MinGapDataCuller.java.  Let the maximum size be N.  Then:

1. Let the chart grow to N in size.
2. Until the chart is N/2+1 in size, repeat:
	2A. Remove the point whose left and right neighbors are closest to one another.  Break ties by choosing the earlier point.  Never remove the first and last points in the series.

ATOM RSS1 RSS2