package edu.rice.hj.example.primers; import edu.rice.hj.api.HjDataDrivenFuture; import static edu.rice.hj.Module1.*; /** *
FibWithDdfs class.
* * @author Shams Imam (shams@rice.edu) */ public class FibWithDdfs { /** *fib.
* * @param n a int. * @param res a {@link edu.rice.hj.api.HjDataDrivenFuture} object. */ public static void fib(final int n, HjDataDrivenFuturemain.
* * @param args an array of {@link String} objects. */ public static void main(final String[] args) { final int N = 10; final int[] result = new int[N]; launchHabaneroApp(() -> { for (int i = 0; i < N; i++) { final int index = i; final HjDataDrivenFuture