org.objectweb.proactive.calcium.skeletons
Class Map<T>
java.lang.Object
org.objectweb.proactive.calcium.skeletons.DaC<T>
org.objectweb.proactive.calcium.skeletons.Map<T>
- All Implemented Interfaces:
- java.io.Serializable, Instruction<T>, Skeleton<T>
public class Map<T>
- extends DaC<T>
Map is only a special case of Divide and Conquer, and therfore
represents data parallelism.
A taks is Divided once into subtaks (without evaluating a condition),
the subtasks are then executed using the child skeleton, and then the
results are conquered using the Conquer object.
- Author:
- The ProActive Team (mleyton)
- See Also:
- Serialized Form
Fields inherited from interface org.objectweb.proactive.calcium.interfaces.Skeleton |
logger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Map
public Map(Divide<T> div,
Skeleton<T> child,
Conquer<T> conq)
compute
public Task<T> compute(Task<T> t)
throws EnvironmentException
- Specified by:
compute
in interface Instruction<T>
- Overrides:
compute
in class DaC<T>
- Throws:
EnvironmentException
Copyright 2001-2007 INRIA All Rights Reserved.