[Jprogramming] A practical problem: minimum distance with penalties
Henry Rich
henryhrich at gmail.com
Fri Feb 26 10:19:45 UTC 2016
No.
The first atom of the array might potentially affect the result in the
last atom.
I need a method that takes at most a couple of dozen machine
instructions per atom. Any method that starts a verb on each atom of
the array is too slow.
Henry Rich
On 2/25/2016 10:35 PM, Brian Schott wrote:
> Does your really fast algorithm start with something like my mask, but
> instead of a while. loop on the whole array, do you just check to update
> the indices one above each altered atom of the revised D?
>
> On Wed, Feb 24, 2016 at 11:43 AM, Henry Rich <henryhrich at gmail.com> wrote:
>
>> That looks like the right result.
>>
>> Henry Rich
>>
>>
More information about the Programming
mailing list