------------------------------------------------------------------------------ ------------------------------------------------------------------------------ -- -- Contact : mourad.dridi@univ-brest.fr ------------------------------------------------------------------------------ -- Last update -- $Date : 16/05/2018 $ -- $Author: Mourad Dridi $ ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Command_Line; use Ada.Command_Line; with AADL_Config; use AADL_Config; with unbounded_strings; use unbounded_strings; with Text_IO; use Text_IO; with Ada.Exceptions; use Ada.Exceptions; with translate; use translate; with processor_set; use processor_set; with text_io; use text_io; with ada.strings.unbounded; use ada.strings.unbounded; with unbounded_strings; use unbounded_strings; with Dependencies ; use Dependencies; with Task_Dependencies; use Task_Dependencies; with Task_Dependencies; use Task_Dependencies.Half_Dep_Set; with sets; with Tasks; use Tasks; with Task_Set; use Task_Set; with Message_Set ; use Message_Set ; with Messages; use Messages ; with Systems; use Systems; with Framework; use Framework; with Call_Framework; use Call_Framework; with Call_Framework_Interface; use Call_Framework_Interface; use Call_Framework_Interface.Framework_Response_Package; use Call_Framework_Interface.Framework_Request_Package; with Call_Scheduling_Framework; use Call_Scheduling_Framework; with Multiprocessor_Services; use Multiprocessor_Services; with Multiprocessor_Services_Interface; use Multiprocessor_Services_Interface; with Multiprocessor_Services_Interface; use Multiprocessor_Services_Interface.Scheduling_Result_Per_Processor_Package; with GNAT.Command_Line; with GNAT.OS_Lib; use GNAT.OS_Lib; with Version; use Version; with Parameters; use Parameters; use Parameters.User_Defined_Parameters_Table_Package; with Parameters.extended; use Parameters.extended; package Find_successors is --------------------- -- Constants -- --------------------- Max_Task : constant integer := 100 ; --------------------- -- Types -- --------------------- Type Integer_Table is array (1 .. Max_Task ) of integer ; Type String_Table is array (1 .. Max_Task ) of Unbounded_String ; ---------------------- -- Global variables -- ---------------------- ----------------------------- -- subprograms -- ----------------------------- procedure find_successors_task ( My_task : in Generic_Task_Ptr ; My_tasks : in Tasks_set ; nbr_task : in integer ; My_messages : in Messages_Set ; My_Dependencies : in Tasks_Dependencies_Ptr ; Successors_tasks : in out Tasks_set; Rang_Successors_tasks_table : in out Integer_Table; Rang_Successors_tasks_table_size : in out integer ) ; end Find_successors ;