Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
60d7fca3
Commit
60d7fca3
authored
Nov 02, 2018
by
Tobias Meuser
Browse files
Added cost-based communication
parent
51027aa4
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/analyzer/metric/spatial/AbstractSpatialMetric.java
View file @
60d7fca3
...
...
@@ -40,7 +40,6 @@ public abstract class AbstractSpatialMetric<T extends AbstractSpatialMetricValue
}
protected
void
setOverallMetric
(
T
aggregate
)
{
super
.
setOverallMetric
(
aggregate
);
}
...
...
src/de/tud/kom/p2psim/impl/vehicular/caching/decision/TTLbasedCacheDecisionStrategy.java
View file @
60d7fca3
...
...
@@ -29,6 +29,7 @@ import java.util.Map;
import
java.util.Map.Entry
;
import
de.tudarmstadt.maki.simonstrator.api.Time
;
import
de.tudarmstadt.maki.simonstrator.api.component.relevance.vehicular.impl.SimpleQoIBasedImpactFunction
;
import
de.tudarmstadt.maki.simonstrator.api.component.sensor.environment.data.RoadProperty
;
import
de.tudarmstadt.maki.simonstrator.api.component.sensor.environment.data.VectoralProperty
;
import
de.tudarmstadt.maki.simonstrator.api.component.sensor.environment.data.jam.VectoralJamProperty
;
...
...
@@ -40,7 +41,6 @@ import de.tudarmstadt.maki.simonstrator.api.component.vehicular.caching.decision
import
de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.AvailableInformationAttributes
;
import
de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.PointInformation
;
import
de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.RoadInformation
;
import
de.tudarmstadt.maki.simonstrator.api.component.vehicular.relevance.impl.SimpleQoIBasedImpactFunction
;
public
class
TTLbasedCacheDecisionStrategy
extends
AbstractCacheDecisionStrategy
implements
CacheSizeAwareCacheDecisionStrategy
{
private
static
final
long
SCALING
=
Time
.
SECOND
;
...
...
src/de/tud/kom/p2psim/impl/vehicular/caching/decision/TTLbasedVectoralCacheDecisionStrategy.java
View file @
60d7fca3
...
...
@@ -28,6 +28,7 @@ import java.util.Map;
import
java.util.Map.Entry
;
import
de.tudarmstadt.maki.simonstrator.api.Time
;
import
de.tudarmstadt.maki.simonstrator.api.component.relevance.vehicular.impl.VectoralQoIBasedImpactFunction
;
import
de.tudarmstadt.maki.simonstrator.api.component.sensor.environment.data.RoadProperty
;
import
de.tudarmstadt.maki.simonstrator.api.component.sensor.environment.data.TemporalDependencyMatrix
;
import
de.tudarmstadt.maki.simonstrator.api.component.sensor.environment.data.VectoralProperty
;
...
...
@@ -42,7 +43,6 @@ import de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.Aggr
import
de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.AvailableInformationAttributes
;
import
de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.PointInformation
;
import
de.tudarmstadt.maki.simonstrator.api.component.vehicular.information.RoadInformation
;
import
de.tudarmstadt.maki.simonstrator.api.component.vehicular.relevance.impl.VectoralQoIBasedImpactFunction
;
public
class
TTLbasedVectoralCacheDecisionStrategy
extends
AbstractCacheDecisionStrategy
implements
CacheSizeAwareCacheDecisionStrategy
{
private
static
final
long
SCALING
=
Time
.
SECOND
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment