(IJCSIS) International Journal of Computer Science and Information Security,Vol. 9, No. 3, 2011
In the proposed model, the input stage consists of threelinguistic variables. The first one is the static priority that isassigned to the process before its execution. The second is theexpected remaining time of the process. The third input is theResponse Ratio of the process. The output stage consists of one linguistic variable called Dynamic priority.
Figure 1: Block diagram of FIS
The input and out variables are mapped into fuzzy sets usingappropriate membership functions. The shape of themembership function for each linguistic term is determined bythe expert. Adjusting these membership functions in anoptimal mode is very difficult. However, there are sometechniques for adjusting membership functions [7,8]Thesetechniques cannot be covered in this paper. They can befurther studied in a separate paper.The membership functions for inputs and outputs are givenbelow
Membership Function for DP (Dynamic Priority)
Type- Triangular, Range:1-5, Very low-[-1,0,1], Low:-[0,1.5,3] medium:-[2,3,4] High:-[3,4,5] Very High:-[4,5,6]
Membership Function for SP (Static Priority)
Type- Triangular, Range: 1-5, low-[-2, 0, 2], medium-[1, 2.5,4] High [3, 5, 7]
Membership Function for RT (Remaining Time)
Type- Triangular, Range: 0-5, Extremely short:-[-2, 0, 2],Very Short:-[1, 2.5, 4] Short:-[3, 5, 7]
Membership Function for RR (Response Ratio)
Type- Triangular, Range: 0-10, Short:-[0, 1, 2], Medium:-[2,5, 8] Long:-[5, 10, 15]
Figure 2: Memebership Function for Static PriorityFigure 3: Membership function for Remaining TimeFigure 4: Membership Function for Response Ratio5Figure5: Membership Function for Dynamic Priority
Twenty seven rules are formulated and a Sugeno type fuzzyInference system is built. Some of the rules are listed below:
If the static priority is‘low’ and remaining time is ‘extremely short’ andResponse Ratio is ‘long’ then the dynamic priority is‘very high’.
If the static priority is‘low’ and remaining time is ‘ short’ and ResponseRatio is ‘short’ then the dynamic priority is ‘verylow’.
If the static priority is‘medium’ and remaining time is ‘ extremely short’and Response Ratio is ‘long’ then the dynamicpriority is ‘very high’.
If the static priority is‘medium’ and remaining time is ‘short’ and ResponseRatio is ‘short’ then the dynamic priority is‘medium’.ResponseRatioRemainingTimeFuzzyInferenceEngine(Sugeno)27 RulesStatic PriorityDynamicPriority