Research Article
Software-Defined Multilayered Admission Control for Quality of Service Assurance in Mobile Ad-hoc Networks
Algorithm 2
Estimating and admitting data service.
| | Input: The instances , , received from Neighbor nodes | | | = generate_set ; // denotes the multi-instance sets | | | Initialize ; j = 1; | | | = getCount(); // get the number of instances | | | for j = 1 to | | | repeat // repeat and validate multi-instance set | | | if then | | | if (SOfdpredictionindex > SReqpredictionindex) then | | | AC_list = Ii | | | end; | | | else if then | | | if (SOfdpredictionindex < SReqpredictionindex) then | | | RC_list = Ii; //Instance labeled as reject candidate | | | end; | | | else | | | UC_list = Ii; //instance labeled unknown candidate | | | err = derive_Error(); // find error derivative | | | calssify_candidates(err); //classify instance AC or RC or UC | | | end | | | j = j+1; | | | until ; // continue for all instances | | end /∗ end of for loop | | | = getMasterCandidate(AC_list, RC_list, UC_list); | | | add_to_MID(Mlabel) //add master list to DB. | | | send_to_neighbor() | | | Output: Classify instances and generate error derivative |
|