Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
theodolite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sören Henning
theodolite
Merge requests
!112
Add Kdoc
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add Kdoc
stu203404/theodolite:140-add-kdoc
into
theodolite-kotlin
Overview
25
Commits
28
Pipelines
0
Changes
8
Merged
Lorenz Boguhn
requested to merge
stu203404/theodolite:140-add-kdoc
into
theodolite-kotlin
4 years ago
Overview
4
Commits
28
Pipelines
0
Changes
8
Expand
Closes
#140 (closed)
Add KDoc for Operator
Standardization of capitalization, naming, and links in all files
Edited
4 years ago
by
Benedikt Wetzel
0
0
Merge request reports
Viewing commit
28dcc7dc
Prev
Next
Show latest version
8 files
+
64
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
28dcc7dc
Improve naming and improve some kdoc
· 28dcc7dc
Simon Ehrenstein
authored
4 years ago
theodolite-quarkus/src/main/kotlin/theodolite/strategies/restriction/LowerBoundRestriction.kt
+
1
−
1
Options
@@ -13,7 +13,7 @@ import theodolite.util.Results
* @see Results
*/
class
LowerBoundRestriction
(
results
:
Results
)
:
RestrictionStrategy
(
results
)
{
override
fun
next
(
load
:
LoadDimension
,
resources
:
List
<
Resource
>):
List
<
Resource
>
{
override
fun
apply
(
load
:
LoadDimension
,
resources
:
List
<
Resource
>):
List
<
Resource
>
{
val
maxLoad
:
LoadDimension
?
=
this
.
results
.
getMaxBenchmarkedLoad
(
load
)
var
lowerBound
:
Resource
?
=
this
.
results
.
getMinRequiredInstances
(
maxLoad
)
if
(
lowerBound
==
null
)
{
Loading