@Override
public IResultSolver execute(DataTask task)
{
System.out.println("SolverDataVectorMultNum");
DataVectorMultNumTask currentTask = (DataVectorMultNumTask) task;
Vector vector = currentTask.getVector();
Double num = currentTask.getNum();
DataTaskSolver tasks = new DataTaskSolver();
for (int i = 0; i < vector.getCountElem(); i++)
{
DataNumMultNumTask newTask = new DataNumMultNumTask(vector.getVectorElem(i), num, -1, i, Config.NODE_SOLVER);
tasks.addTask(newTask);
}
return tasks;
}