Pass down RRM algorithm parameters (#61)

This commit is contained in:
Jun Woo Shin
2022-09-01 12:20:53 -07:00
committed by GitHub
parent 7e9aabb2cc
commit 6fb15f777c
9 changed files with 233 additions and 24 deletions

View File

@@ -39,6 +39,20 @@ public class UnmanagedApAwareChannelOptimizer
/** The default weight for nonOWF APs. */
private static final int DEFAULT_WEIGHT = 2;
/** Factory method to parse generic args map into the proper constructor */
public static UnmanagedApAwareChannelOptimizer makeWithArgs(
DataModel model,
String zone,
DeviceDataManager deviceDataManager,
Map<String, String> args
) {
return new UnmanagedApAwareChannelOptimizer(
model,
zone,
deviceDataManager
);
}
/** Constructor. */
public UnmanagedApAwareChannelOptimizer(
DataModel model,