Blog Archives

A recipe for dynamic programming in R: Solving a “quadruel” case from PuzzlOR

May 24, 2017
By

As also described in Cormen, et al (2009) p. 65, in algorithm design, divide-and-conquer paradigm incorporates a recursive approach in which the main problem is: Divided into smaller sub-problems (divide), The sub-problems are solved (conquer), And the solutions to sub-problems are combined to solve the original and “bigger” problem (combine). Instead of constructing indefinite number … Continue reading "A...

Read more »

How brute is your force?: Three ways to get radicals in batch using R

May 24, 2017
By
How brute is your force?: Three ways to get radicals in batch using R

Brute force approach to solving a problem is usually the way of running through all possible combinations and repeating a certain calculation. Until a more elegant solution is devised – for example finding a numerical formula – brute forcing is the only tool at hand. Provided that the nature of the calculation is not unfeasibly … Continue reading "How...

Read more »

Search R-bloggers


Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)