Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Data visualisation.

by davies (Parson)
on Jan 02, 2014 at 11:48 UTC ( #1068936=note: print w/replies, xml ) Need Help??

in reply to Data visualisation.

There are two possibilities: the set is known to be mappable or it is not.

Start with point A. Place it in a predefined position in your space. The space will need to be extensible in all directions (or there must be a procedure to move all existing points to make room for a new one).

Point B is then placed 633 units from A in a predefined direction.

There are now at most 2 points where C can go (257 from A and 390 from B). Choose one of these by a predetermined process.

The same process for C will apply to all subsequent points. This is where the question of known mappability comes in. If a set is known to be mappable but a point appears to be unmappable, use a least squares algorithm to find the most appropriate place for it. If the set might not be mappable, halt and report the problem.

This is my first pass approach to the algorithm. I'll continue to think about it & may respond further.


John Davies

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1068936]
[erix]: yeah... trepidation
Corion quivers with antici...
[choroba]: if you turn off autocommit and run a prepared statement which fails, the transaction is automatically rolled back, at least in DBD::Pg
[erix]: at least, I'll know where to find the documentation :P
[choroba]: but if there's no prepared statement, there's no rollback
[choroba]: the rollback happens when deallocating the prepared statement in error state.
[choroba]: is this something that Pg enforces, or just a consequence of the Perl implementation?
[choroba]: also, does it make any sense? We run different statements generated from input structures, sometimes prepared statements are involved, sometimes not. We want the behaviour to be consistent.

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2017-09-19 12:58 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (220 votes). Check out past polls.