-
Notifications
You must be signed in to change notification settings - Fork 0
/
MIFBO5.m
41 lines (32 loc) · 1004 Bytes
/
MIFBO5.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
%% This script identifies possible attribute level orderings
%% based on tournament data
%% Please Edit lines 6, 16-35
clear all; close all; format long;
x=xlsread('ranks');
ID='FBO5'; %% Specify Organization Being Analyzed
%% List of ranks
S=[1 2 3 4 5 6]; %% all possible rank orders allowed
P=[1 2 5]; % 1<2
Q=[3 4 6]; % 2<1
R=[2 5 6]; % 3<2
T=[4 5 6]; % 3<1
U=[1 2 3]; % 1<3
V=[1 3 4]; % 2<3
%% Tournament Outcomes
%x = ruleOut(x,S,P,S,S); %R16 Left Bracket
%x = ruleOut(x,P,P,S,S);
x = ruleOut(x,P,S,S,S);
x = ruleOut(x,V,S,S,R);
x = ruleOut(x,S,V,S,R); %R16 Right Bracket
x = ruleOut(x,T,P,S,S);
x = ruleOut(x,P,V,Q,S);
x = ruleOut(x,S,U,U,R);
x = ruleOut(x,P,S,S,S); %R8 Left Bracket
x = ruleOut(x,P,P,S,V);
x = ruleOut(x,T,P,T,V); %R8 Right Bracket
x = ruleOut(x,T,P,P,R);
x = ruleOut(x,S,P,S,Q); %R4 Left Bracket
x = ruleOut(x,S,S,U,R); %R4 Right Bracket
x = ruleOut(x,U,S,S,V); % R2
x=processCount(x);
xlswrite('MIRanking.xlsx',x,ID);