Package mephi.cybernetics.dhcn.common.data.task

Examples of mephi.cybernetics.dhcn.common.data.task.DataMatrixMultNumTask


    @Override
    public IResultSolver execute(DataTask task)
    {
        System.out.println("SolverDataMatrixMultNum");
        DataMatrixMultNumTask currentTask = (DataMatrixMultNumTask) task;
        DataTaskSolver tasks = new DataTaskSolver();
        Matrix matrix = currentTask.getMatrix();
        Double num    = currentTask.getNum();
        for(int i = 0; i < matrix.getCountVector(); i++)
        {
            DataVectorMultNumTask newTask = new DataVectorMultNumTask(matrix.getMatrixVector(i), num, -1, i, Config.NODE_SOLVER);
            tasks.addTask(newTask);
        }
View Full Code Here


            matrix.addVectorToMatrix(vector);
        }
        matrix.show();
       
       
        DataMatrixMultNumTask data = new DataMatrixMultNumTask(matrix, 10.0, this.id, 0, Config.NODE_CLIENT);
//        ArrayList<Double> vector;
//        for (int i = 0; i < 3; i++)
//        {
//            vector = new ArrayList<Double>();
//            for (int j = 0; j < 7; j++)
View Full Code Here

TOP

Related Classes of mephi.cybernetics.dhcn.common.data.task.DataMatrixMultNumTask

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.