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
!210
"README.md" did not exist on "6e634957dc5ca8275feab51ba30a95f5932609b9"
Add "Initial Guess" Search Strategy
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add "Initial Guess" Search Strategy
stu222169/theodolite-extensions:issue-258
into
master
Overview
0
Commits
6
Pipelines
1
Changes
6
Merged
Julia Rossow
requested to merge
stu222169/theodolite-extensions:issue-258
into
master
3 years ago
Overview
0
Commits
6
Pipelines
1
Changes
6
Expand
Fix
#258 (closed)
Edited
3 years ago
by
Sören Henning
0
0
Merge request reports
Compare
master
version 7
d5053acb
3 years ago
version 6
5c33a0ab
3 years ago
version 5
6435c0a9
3 years ago
version 4
d053d5c5
3 years ago
version 3
fca67aa6
3 years ago
version 2
43501736
3 years ago
version 1
5ddc2fd3
3 years ago
master (base)
and
latest version
latest version
77703316
6 commits,
3 years ago
version 7
d5053acb
6 commits,
3 years ago
version 6
5c33a0ab
6 commits,
3 years ago
version 5
6435c0a9
5 commits,
3 years ago
version 4
d053d5c5
4 commits,
3 years ago
version 3
fca67aa6
3 commits,
3 years ago
version 2
43501736
2 commits,
3 years ago
version 1
5ddc2fd3
1 commit,
3 years ago
6 files
+
290
−
5
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
theodolite/src/main/kotlin/theodolite/strategies/searchstrategy/GuessStrategy.kt
0 → 100644
+
22
−
0
Options
package
theodolite.strategies.searchstrategy
import
io.quarkus.runtime.annotations.RegisterForReflection
import
theodolite.util.Resource
/**
* Base class for the implementation of Guess strategies. Guess strategies are strategies to determine the resource
* demand we start with in our initial guess search strategy.
*/
@RegisterForReflection
abstract
class
GuessStrategy
{
/**
* Computing the resource demand for the initial guess search strategy to start with.
*
* @param resources List of all possible [Resource]s.
* @param lastLowestResource Previous resource demand needed for the given load.
*
* @return Returns the resource demand to start the initial guess search strategy with or null
*/
abstract
fun
firstGuess
(
resources
:
List
<
Resource
>,
lastLowestResource
:
Resource
?):
Resource
?
}
\ No newline at end of file
Loading