Feature/advanced optimization #404
2
.gitignore
vendored
2
.gitignore
vendored
@ -18,5 +18,3 @@ out/
|
|||||||
# Generated by javac -h and runtime
|
# Generated by javac -h and runtime
|
||||||
*.class
|
*.class
|
||||||
*.log
|
*.log
|
||||||
|
|
||||||
/kmath-ejml/src/main/kotlin/space/kscience/kmath/ejml/_generated.kt
|
|
||||||
|
@ -19,4 +19,4 @@ fun main() {
|
|||||||
with(DoubleField.bufferAlgebra(5)) {
|
with(DoubleField.bufferAlgebra(5)) {
|
||||||
println(number(2.0) + produce(1, 2, 3, 4, 5))
|
println(number(2.0) + produce(1, 2, 3, 4, 5))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,4 +17,4 @@ kotlin.sourceSets {
|
|||||||
|
|
||||||
readme {
|
readme {
|
||||||
maturity = ru.mipt.npm.gradle.Maturity.EXPERIMENTAL
|
maturity = ru.mipt.npm.gradle.Maturity.EXPERIMENTAL
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ import space.kscience.kmath.expressions.Symbol
|
|||||||
import space.kscience.kmath.misc.FeatureSet
|
import space.kscience.kmath.misc.FeatureSet
|
||||||
|
|
||||||
public abstract class OptimizationBuilder<T, R : OptimizationProblem<T>> {
|
public abstract class OptimizationBuilder<T, R : OptimizationProblem<T>> {
|
||||||
public val features: ArrayList<OptimizationFeature> = ArrayList()
|
public val features: MutableList<OptimizationFeature> = ArrayList()
|
||||||
|
|
||||||
public fun addFeature(feature: OptimizationFeature) {
|
public fun addFeature(feature: OptimizationFeature) {
|
||||||
features.add(feature)
|
features.add(feature)
|
||||||
|
Loading…
Reference in New Issue
Block a user