cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-examples/src/main/java/org/cloudbus/cloudsim/examples/network/applications/NetworkVmsExampleWorkflowApp.java
private static void addExecutionTask(NetworkCloudlet netCloudlet) {
        /**
         * @todo @author manoelcampos It's strange to define the time of the execution task.
         * It would be defined the length instead. In this case, the execution time will
         * depend on the MIPS of the PE where the task is being executed.
         */
        CloudletTask task = new CloudletExecutionTask(
                netCloudlet.getTasks().size(), NETCLOUDLET_EXECUTION_TASK_LENGTH);
        task.setMemory(NETCLOUDLET_RAM);
        netCloudlet.addTask(task);
    }
/**
     * Adds an execution task to list of tasks of the given {@link NetworkCloudlet}.
     *
     * @param netCloudlet the {@link NetworkCloudlet} to add the task
     */
Adds an execution task to list of tasks of the given  NetworkCloudlet.
@param netCloudlet the  NetworkCloudlet to add the task
Adds an execution task to list of tasks of the given NetworkCloudlet . @param netCloudlet the NetworkCloudlet to add the task
private static void addExecutionTask(NetworkCloudlet netCloudlet) {
        /**
         * @todo @author manoelcampos It's strange to define the time of the execution task.
         * It would be defined the length instead. In this case, the execution time will
         * depend on the MIPS of the PE where the task is being executed.
         */
        CloudletTask task = new CloudletExecutionTask(
                netCloudlet.getTasks().size(), NETCLOUDLET_EXECUTION_TASK_LENGTH);
        task.setMemory(NETCLOUDLET_RAM);
        netCloudlet.addTask(task);
    }
private static void addExecutionTask ( NetworkCloudlet netCloudlet ) { /**
         * @todo @author manoelcampos It's strange to define the time of the execution task.
         * It would be defined the length instead. In this case, the execution time will
         * depend on the MIPS of the PE where the task is being executed.
         */ CloudletTask task = new CloudletExecutionTask ( netCloudlet . getTasks ( ) . size ( ) , NETCLOUDLET_EXECUTION_TASK_LENGTH ) ; task . setMemory ( NETCLOUDLET_RAM ) ; netCloudlet . addTask ( task ) ; }
Adds an execution task to list of tasks of the given {@link NetworkCloudlet}.
Adds an execution task to list of tasks of the given { @link NetworkCloudlet } .