-
Notifications
You must be signed in to change notification settings - Fork 0
/
Method3.txt
139 lines (95 loc) · 5.32 KB
/
Method3.txt
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
C:\Users\Anika\Documents\Memristors\Memristors>REM Argment is either Method1, Method2 or Method3
C:\Users\Anika\Documents\Memristors\Memristors>echo ""
""
C:\Users\Anika\Documents\Memristors\Memristors>echo "Author: Anika Raghuvanshi"
"Author: Anika Raghuvanshi"
C:\Users\Anika\Documents\Memristors\Memristors>echo "This Batch file invokes Decision Function program with different arguments
"This Batch file invokes Decision Function program with different arguments
C:\Users\Anika\Documents\Memristors\Memristors>echo "Following are some expressions containing Positive Literals only"
"Following are some expressions containing Positive Literals only"
C:\Users\Anika\Documents\Memristors\Memristors>echo ""
""
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (A+B)
************************
Expression: (A+B)
Optimal solutions (2) : [A, B]
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (A+B)(C)
************************
Expression: (A+B)(C)
Optimal solutions (2) : [AC, BC]
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (A+B)(A+C)
************************
Expression: (A+B)(A+C)
Optimal solutions (1) : [A]
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (A+B)(A+C)(C+E)
************************
Expression: (A+B)(A+C)(C+E)
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (A+B)(A+C)(C+E)
************************
Expression: (A+B)(A+C)(C+E)
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (A+B)(A+E)(B+C)(B+E)
************************
Expression: (A+B)(A+E)(B+C)(B+E)
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (A+B)(C+D+E)(A+C+E)(C+B)
************************
Expression: (A+B)(C+D+E)(A+C+E)(C+B)
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (A)(A+E)(B)(B+E)(C)(C+E)(D)(D+E)
************************
Expression: (A)(A+E)(B)(B+E)(C)(C+E)(D)(D+E)
Optimal solutions (0) : []
C:\Users\Anika\Documents\Memristors\Memristors>echo ""
""
C:\Users\Anika\Documents\Memristors\Memristors>echo "Following examples use expressions containing Negative Literals "
"Following examples use expressions containing Negative Literals "
C:\Users\Anika\Documents\Memristors\Memristors>echo "Negative literals are denoted by lowercase letters"
"Negative literals are denoted by lowercase letters"
C:\Users\Anika\Documents\Memristors\Memristors>echo ""
""
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (A+B)(a+C)
************************
Expression: (A+B)(a+C)
Optimal solutions (2) : [AC, B]
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (A+B)(A+E)(b+C)(B+E)
************************
Expression: (A+B)(A+E)(b+C)(B+E)
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (A+B+C)(c+D+E)(b+K+F)(a+G+H)
************************
Expression: (A+B+C)(c+D+E)(b+K+F)(a+G+H)
C:\Users\Anika\Documents\Memristors\Memristors>echo ""
""
C:\Users\Anika\Documents\Memristors\Memristors>echo "Following examples are trivial examples showing syntax of the arguments"
"Following examples are trivial examples showing syntax of the arguments"
C:\Users\Anika\Documents\Memristors\Memristors>echo "Expressions can have whitespaces. Expression must then be within quotes"
"Expressions can have whitespaces. Expression must then be within quotes"
C:\Users\Anika\Documents\Memristors\Memristors>echo ""
""
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 A
************************
Expression: A
Optimal solutions (1) : [A]
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 AG
************************
Expression: AG
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (A)
************************
Expression: (A)
Optimal solutions (1) : [A]
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (AG)
************************
Expression: (AG)
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (A)(G)
************************
Expression: (A)(G)
Optimal solutions (1) : [AG]
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 (A)(a)
************************
Expression: (A)(a)
Optimal solutions (1) : [A]
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 "(A+B) (C)"
************************
Expression: (A+B) (C)
Optimal solutions (2) : [AC, BC]
C:\Users\Anika\Documents\Memristors\Memristors>java -cp build\classes DecisionFunction.DecisionFunction Method3 " ( A + B) (A+C ) "
************************
Expression: ( A + B) (A+C )
Optimal solutions (1) : [A]