Skip to content
Navigation Menu
Toggle navigation
Sign in
In this repository
All GitHub Enterprise
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub Enterprise
↵
Jump to
↵
In this user
All GitHub Enterprise
↵
Jump to
↵
In this repository
All GitHub Enterprise
↵
Jump to
↵
Sign in
Reseting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
gadelrab
/
ExFaKT
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
0
Security
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Files
c2288d2
Api
Client
Demo
Extras
FactSpotting
QueryRewriting
libs
src/main
java
checker
config
datastructure
experiments
extendedsldnf
text
utils
eval
json
Converter.java
DataUtils.java
Enums.java
RelativeRulesCollector.java
RulesSyntaxChecker.java
StringUtils.java
SyncCounter.java
DocumentCollector.java
JSONConverter.java
MainCLI.java
resources
pom.xml
Utils
WebService
WebService2
data
scripts
src
.gitignore
.gitmodules
README.md
install_external_jars.sh
pom.xml
rules_splitq_heursitic.out.json
Breadcrumbs
ExFaKT
/
QueryRewriting
/
src
/
main
/
java
/
utils
/
Enums.java
Blame
Blame
Latest commit
History
History
executable file
·
38 lines (25 loc) · 856 Bytes
Breadcrumbs
ExFaKT
/
QueryRewriting
/
src
/
main
/
java
/
utils
/
Enums.java
Top
File metadata and controls
Code
Blame
executable file
·
38 lines (25 loc) · 856 Bytes
Raw
package utils; import java.util.Comparator; /** * Created by gadelrab on 4/27/17. */ public class Enums { public static enum ActionType {BUILT_IN(0), ORG(0) , KG_VALID(10), TEXT_VALID(15), KG_BIND(20), TEXT_BIND(25), GREEDY_BIND(27), RULE_EXPAND(30), UNCLASSIFIED(100); private int priority; ActionType(int priority) { this.priority = priority; } public int getPriority() { return priority; } public static Comparator<ActionType> priorityComparator =new Comparator<ActionType>() { public int compare(ActionType o1, ActionType o2) { return o1.getPriority()-o2.getPriority(); } }; } public static enum EvalMethod{SLD,SLD_ITR,HEURISTIC}; //public enum BindingSource{FACT,TEXT, GREEDY} }
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
You can’t perform that action at this time.