Skip to content
Permalink
Browse files

Initialized repository

  • Loading branch information...
fmohr committed Jul 10, 2019
1 parent 3683664 commit 7f8dc4751f8de4ee5479eb7e20c403c444bf3150
Showing with 1,809 additions and 2 deletions.
  1. +260 −0 .gitignore
  2. +59 −0 algorithm/build.gradle
  3. +122 −0 algorithm/src/main/java/org/api4/java/algorithm/IAlgorithm.java
  4. +39 −0 algorithm/src/main/java/org/api4/java/algorithm/IAlgorithmConfig.java
  5. +7 −0 algorithm/src/main/java/org/api4/java/algorithm/IAlgorithmFactory.java
  6. +17 −0 algorithm/src/main/java/org/api4/java/algorithm/IOptimizationAlgorithm.java
  7. +12 −0 algorithm/src/main/java/org/api4/java/algorithm/IOptimizationAlgorithmFactory.java
  8. +13 −0 algorithm/src/main/java/org/api4/java/algorithm/IRandomAlgorithmConfig.java
  9. +11 −0 algorithm/src/main/java/org/api4/java/algorithm/ISolutionCandidateIterator.java
  10. +69 −0 algorithm/src/main/java/org/api4/java/algorithm/TimeOut.java
  11. +23 −0 algorithm/src/main/java/org/api4/java/algorithm/events/AAlgorithmEvent.java
  12. +35 −0 algorithm/src/main/java/org/api4/java/algorithm/events/ASolutionCandidateFoundEvent.java
  13. +9 −0 algorithm/src/main/java/org/api4/java/algorithm/events/AlgorithmCanceledEvent.java
  14. +10 −0 algorithm/src/main/java/org/api4/java/algorithm/events/AlgorithmEvent.java
  15. +9 −0 algorithm/src/main/java/org/api4/java/algorithm/events/AlgorithmFinishedEvent.java
  16. +8 −0 algorithm/src/main/java/org/api4/java/algorithm/events/AlgorithmInitializedEvent.java
  17. +9 −0 algorithm/src/main/java/org/api4/java/algorithm/events/AlgorithmInterruptedEvent.java
  18. +5 −0 algorithm/src/main/java/org/api4/java/algorithm/events/ScoredSolutionCandidateFoundEvent.java
  19. +6 −0 algorithm/src/main/java/org/api4/java/algorithm/events/SolutionCandidateFoundEvent.java
  20. +149 −0 ...main/java/org/api4/java/algorithm/events/serializable/DefaultPropertyProcessedAlgorithmEvent.java
  21. +76 −0 ...hm/src/main/java/org/api4/java/algorithm/events/serializable/PropertyProcessedAlgorithmEvent.java
  22. +12 −0 algorithm/src/main/java/org/api4/java/algorithm/exceptions/AlgorithmException.java
  23. +20 −0 algorithm/src/main/java/org/api4/java/algorithm/exceptions/AlgorithmExecutionCanceledException.java
  24. +17 −0 algorithm/src/main/java/org/api4/java/algorithm/exceptions/AlgorithmTimeoutedException.java
  25. +31 −0 algorithm/src/main/java/org/api4/java/algorithm/exceptions/DelayedTerminationCheckException.java
  26. +8 −0 ...ithm/src/main/java/org/api4/java/algorithm/exceptions/ExceptionInAlgorithmIterationException.java
  27. +7 −0 algorithm/src/main/java/org/api4/java/algorithm/reduction/AlgorithmicProblemReduction.java
  28. +3 −1 build.gradle
  29. +55 −0 common/build.gradle
  30. +22 −0 common/src/main/java/org/api4/java/common/aggregate/IAggregateFunction.java
  31. +10 −0 common/src/main/java/org/api4/java/common/aggregate/IRealsAggregateFunction.java
  32. +10 −0 common/src/main/java/org/api4/java/common/aggregate/IStringAggregateFunction.java
  33. +17 −0 common/src/main/java/org/api4/java/common/attributedobjects/GetPropertyFailedException.java
  34. +10 −0 common/src/main/java/org/api4/java/common/attributedobjects/IGetter.java
  35. +12 −0 common/src/main/java/org/api4/java/common/attributedobjects/IInformedObjectEvaluatorExtension.java
  36. +17 −0 common/src/main/java/org/api4/java/common/attributedobjects/IObjectEvaluator.java
  37. +17 −0 common/src/main/java/org/api4/java/common/attributedobjects/ObjectEvaluationFailedException.java
  38. +5 −0 common/src/main/java/org/api4/java/common/attributedobjects/ScoredItem.java
  39. +5 −0 common/src/main/java/org/api4/java/common/control/Cancelable.java
  40. +94 −0 common/src/main/java/org/api4/java/common/control/IConfig.java
  41. +8 −0 common/src/main/java/org/api4/java/common/control/ILoggingCustomizable.java
  42. +19 −0 common/src/main/java/org/api4/java/common/control/PropertiesLoadFailedException.java
  43. +10 −0 common/src/main/java/org/api4/java/common/event/IEvent.java
  44. +17 −0 common/src/main/java/org/api4/java/common/event/IEventEmitter.java
  45. +11 −0 common/src/main/java/org/api4/java/common/event/IRelaxedEventEmitter.java
  46. +5 −0 common/src/main/java/org/api4/java/common/math/IMetric.java
  47. +55 −0 datastructure/build.gradle
  48. +22 −0 datastructure/src/main/java/org/api4/java/datastructure/graph/IGraph.java
  49. +8 −0 datastructure/src/main/java/org/api4/java/datastructure/graph/ILabeledGraph.java
  50. +21 −0 datastructure/src/main/java/org/api4/java/datastructure/graph/NodeNotFoundException.java
  51. +7 −0 datastructure/src/main/java/org/api4/java/datastructure/kvstore/IKVFilter.java
  52. +247 −0 datastructure/src/main/java/org/api4/java/datastructure/kvstore/IKVStore.java
  53. +56 −0 datastructure/src/main/java/org/api4/java/datastructure/kvstore/README.md
  54. +3 −1 settings.gradle
@@ -0,0 +1,260 @@

# Created by https://www.gitignore.io/api/java,linux,macos,gradle,windows,eclipse,intellij

### VS Code ###
.vscode/

### Eclipse ###

.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# PyDev specific (Python IDE for Eclipse)
*.pydevproject

# CDT-specific (C/C++ Development Tooling)
.cproject

# Java annotation processor (APT)
.factorypath

# PDT-specific (PHP Development Tools)
.buildpath

# sbteclipse plugin
.target

# Tern plugin
.tern-project

# TeXlipse plugin
.texlipse

# STS (Spring Tool Suite)
.springBeans

# Code Recommenders
.recommenders/

# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet

### Eclipse Patch ###
# Eclipse Core
.project

# JDT-specific (Eclipse Java Development Tools)
.classpath

# Annotation Processing
.apt_generated

### Intellij ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839

# Everythin for IntelliJ.
.idea/*
*.iml

# User-specific stuff:
.idea/**/workspace.xml
.idea/**/tasks.xml
.idea/dictionaries

# Sensitive or high-churn files:
.idea/**/dataSources/
.idea/**/dataSources.ids
.idea/**/dataSources.xml
.idea/**/dataSources.local.xml
.idea/**/sqlDataSources.xml
.idea/**/dynamic.xml
.idea/**/uiDesigner.xml

# Gradle:
.idea/**/gradle.xml
.idea/**/libraries
gradle.properties

# CMake
cmake-build-debug/

# Mongo Explorer plugin:
.idea/**/mongoSettings.xml

## File-based project format:
*.iws

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Cursive Clojure plugin
.idea/replstate.xml

# Ruby plugin and RubyMine
/.rakeTasks

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties

### Intellij Patch ###
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721

# *.iml
# modules.xml
# .idea/misc.xml
# *.ipr

# Sonarlint plugin
.idea/sonarlint

### Java ###
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
*.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Windows ###
# Windows thumbnail cache files
Thumbs.db
ehthumbs.db
ehthumbs_vista.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

### Intelij ###
.idea/
*iml

### Gradle ###
.gradle
**/build/
gradle.properties

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Cache of project
.gradletasknamecache

# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
# gradle/wrapper/gradle-wrapper.properties


# End of https://www.gitignore.io/api/java,linux,macos,gradle,windows,eclipse,intellij

# ignore sonarlint
.sonarlint

# Generated files by running skikitwrapper
JAICore/jaicore-ml/tmp/
JAICore/jaicore-ml/model_dumps/
JAICore/jaicore-ml/testsrc/ml/scikitwrapper/importfolder_test/__pycache__/
/docs/Gemfile
/docs/Gemfile.lock
/docs/_site
/docs/.sass-cache
@@ -0,0 +1,59 @@
dependencies {
compile project(":common")
}

uploadArchives {
repositories {
mavenDeployer {
def ossrhUsername = project.hasProperty('ossrhUsername') ? project.property('ossrhUsername') : ""
def ossrhPassword = project.hasProperty('ossrhPassword') ? project.property('ossrhPassword') : ""

beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
}

pom.project {
name 'algorithms'
packaging 'jar'
// optionally artifactId can be defined here
description 'Fundamental utils required by many other starlibs projects.'
url 'https://api4.org'

scm {
connection 'scm:git:https://github.com/fmohr/api4.git'
developerConnection 'scm:git:https://github.com/fmohr/api4.git'
url 'https://github.com/fmohr/api4'
}

licenses {
license {
name 'GPLv3'
url 'https://www.gnu.org/licenses/gpl-3.0.en.html'
}
}

developers {
developer {
id 'fmohr'
name 'Felix Mohr'
email 'felix.mohr@upb.de'
}
developer {
id 'mwever'
name 'Marcel Wever'
email 'marcel.wever@upb.de'
}
developer {
id 'ahetzer'
name 'Alexander Tornede'
email 'alexander.tornede@upb.de'
}
}
}
}
}
}

0 comments on commit 7f8dc47

Please sign in to comment.
You can’t perform that action at this time.