|
||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |
Packages that use ProxyGroup | |
---|---|
medisyn | Contains classes needed to form scenario configurations (X2XProxy, ScenarioConfig etc) but also only medisyn specific classes. |
simulator.views |
Uses of ProxyGroup in medisyn |
---|
Fields in medisyn declared as ProxyGroup | |
---|---|
private ProxyGroup |
X2XProxy.proxyGroup
|
Fields in medisyn with type parameters of type ProxyGroup | |
---|---|
private java.util.Vector<ProxyGroup> |
ProxyGenerator.proxyGroups
|
private java.util.Vector<ProxyGroup> |
ScenarioConfig.proxyGroups
|
Methods in medisyn that return ProxyGroup | |
---|---|
ProxyGroup |
ProxyGroup.clone()
clones the object, the proxies are NOT cloned |
ProxyGroup |
ProxyGroup.clone2()
clones the object, the proxies ARE also cloned |
ProxyGroup |
ScenarioConfig.getProxGroupByName(java.lang.String name)
returns the ProxyGroup which has the given name. |
ProxyGroup |
X2XProxy.getProxyGroup()
|
Methods in medisyn that return types with arguments of type ProxyGroup | |
---|---|
java.util.Vector<ProxyGroup> |
ProxyGenerator.getProxyGroups()
|
java.util.Vector<ProxyGroup> |
ScenarioConfig.getProxyGroups()
|
Methods in medisyn with parameters of type ProxyGroup | |
---|---|
int |
ProxyGroup.ReverseGroupSizeComparer.compare(ProxyGroup group1,
ProxyGroup group2)
Compares the sizes of the two groups. |
int |
ProxyGroup.GroupSizeComparer.compare(ProxyGroup group1,
ProxyGroup group2)
Compares the sizes of the two groups. |
int |
ProxyGroup.compareTo(ProxyGroup o)
Implements the compareTo() based on the group name. |
boolean |
ProxyGroup.equals(ProxyGroup other)
is other ProxyGroup equal to this one? |
static void |
ProxyGenerator.printProxyGroups(ProxyGroup proxyGroup)
prints the proxy-grup and its proxies to stdout |
void |
X2XProxy.setProxyGroup(ProxyGroup proxyGroup)
|
Method parameters in medisyn with type arguments of type ProxyGroup | |
---|---|
private boolean |
ScenarioConfig.checkConsistency(java.util.Vector<X2XProxy> proxies,
java.util.Vector<ProxyGroup> proxyGroups)
Run a consistency check over the proxies and the proxyGroups. |
static void |
ProxyGenerator.printProxyGroups(java.util.Vector<ProxyGroup> proxyGroups)
prints the proxy-grups and their proxies to stdout |
void |
ScenarioConfig.setProxyGroups(java.util.Vector<ProxyGroup> proxyGroups)
|
Uses of ProxyGroup in simulator.views |
---|
Fields in simulator.views declared as ProxyGroup | |
---|---|
private ProxyGroup |
Simulator.NetClosenessThread.group
|
Fields in simulator.views with type parameters of type ProxyGroup | |
---|---|
private java.util.Vector<ProxyGroup> |
Simulator.NetClosenessThread.subgroups
|
Methods in simulator.views that return types with arguments of type ProxyGroup | |
---|---|
private java.util.Vector<ProxyGroup> |
Simulator.calculateBandwidthsForGroup(ProxyGroup group,
java.lang.String resultFilePath,
Simulator.SimExecMode execMode,
java.util.Hashtable<java.lang.String,java.lang.Double> groupBws,
Simulator.FormSubgroupsMode subgroupMode)
Calculates the bandwidths in this group (by using PlabClientCaller) and forms subgroups by calculating netCloseness |
private java.util.Hashtable<ProxyGroup,java.lang.Double> |
Simulator.evaluateNetClAvgGroupBandwidths(java.util.Vector<ProxyGroup> proxyGroups,
java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> bwsPerNode)
Evaluate average group bandwidths and print them to stdout 1. |
private java.util.Vector<ProxyGroup> |
Simulator.formBandwidthSubGroupsFromGroup(ProxyGroup oldGroup,
java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> bwsPerNode)
forms subgroups based on network bandwidth of ONE semantically formed proxy group |
private java.util.Vector<ProxyGroup> |
Simulator.formBandwidthSubGroupsFromGroupV2(ProxyGroup oldGroup,
java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> bwsPerNode)
forms subgroups based on network bandwidth of ONE semantically formed proxy group Changes to v1: (- single node groups are formed if the bandwidth-limit is reached) - Groups with a greater size are favoured - Additionally: if the nr of subgroups formed by Algorithm v2 is NOT smaller than the nr of subgroups formed by Algorithm v1, then the result of Algorithm v1 is taken because it has better avg-group-bandwidths. |
private java.util.Vector<ProxyGroup> |
Simulator.formBandwidthSubGroupsFromGroupV2Internal(ProxyGroup oldGroup,
java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> bwsPerNode)
forms subgroups based on network bandwidth of ONE semantically formed proxy group Changes to v1: (- single node groups are formed if the bandwidth-limit is reached) - Groups with a greater size are favoured |
private java.util.Vector<ProxyGroup> |
Simulator.getProxyGroupsFromResults(java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> resultsTable)
Get the proxy groups of the nodes using the results. |
java.util.Vector<ProxyGroup> |
Simulator.NetClosenessThread.getSubgroups()
|
Methods in simulator.views with parameters of type ProxyGroup | |
---|---|
private boolean |
Simulator.areVideoFilesAssigned(ProxyGroup group)
Checks whether the video files are assigned to each proxy of this group. |
private boolean |
Simulator.assignVideofilesToGroup(java.util.Hashtable<java.lang.Integer,VideoFile> videoFiles,
ProxyGroup group,
double filesPerNodePercentage,
double sigmaPercentage,
boolean forceAssignment)
Assign some number of files to each node of this group. |
private double |
Simulator.calculateAvgBwToNode(ProxyGroup group,
java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> bwsPerNode,
X2XProxy refProxy,
boolean printBestWorstStats)
Calculates the average bandwidth of every node of the ProxyGroup to the given reference node. |
private double |
Simulator.calculateAvgGroupBw(ProxyGroup group,
java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> bwsPerNode,
boolean printBestWorstStats)
Calculates the average bandwidth of the ProxyGroup. |
private java.util.Vector<ProxyGroup> |
Simulator.calculateBandwidthsForGroup(ProxyGroup group,
java.lang.String resultFilePath,
Simulator.SimExecMode execMode,
java.util.Hashtable<java.lang.String,java.lang.Double> groupBws,
Simulator.FormSubgroupsMode subgroupMode)
Calculates the bandwidths in this group (by using PlabClientCaller) and forms subgroups by calculating netCloseness |
private ResultParser |
Simulator.createResultParserForGroup(ProxyGroup group)
creates the medisyn ResultParser and parses the medisyn-requests for the given group |
private java.util.Vector<ProxyGroup> |
Simulator.formBandwidthSubGroupsFromGroup(ProxyGroup oldGroup,
java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> bwsPerNode)
forms subgroups based on network bandwidth of ONE semantically formed proxy group |
private java.util.Vector<ProxyGroup> |
Simulator.formBandwidthSubGroupsFromGroupV2(ProxyGroup oldGroup,
java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> bwsPerNode)
forms subgroups based on network bandwidth of ONE semantically formed proxy group Changes to v1: (- single node groups are formed if the bandwidth-limit is reached) - Groups with a greater size are favoured - Additionally: if the nr of subgroups formed by Algorithm v2 is NOT smaller than the nr of subgroups formed by Algorithm v1, then the result of Algorithm v1 is taken because it has better avg-group-bandwidths. |
private java.util.Vector<ProxyGroup> |
Simulator.formBandwidthSubGroupsFromGroupV2Internal(ProxyGroup oldGroup,
java.util.Hashtable<X2XProxy,java.util.Vector<structBandwidthInfo>> bwsPerNode)
forms subgroups based on network bandwidth of ONE semantically formed proxy group Changes to v1: (- single node groups are formed if the bandwidth-limit is reached) - Groups with a greater size are favoured |
private boolean |
Simulator.measureBwsPerGroup(ProxyGroup group,
boolean onlyToLeader,
boolean exceptLeader,
java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> bwsPerNode)
Measures the bandwidths betweeen the proxies of a group. |
private ResultParser |
Simulator.parseAndAssignVideoFilesToGroup(ProxyGroup group,
boolean forceAssignment)
Creates the ResultParser for the given group which parses the required medisyn request log. |
private boolean |
Simulator.requestVideosFromGroup(java.util.Vector<Request> requests,
int maxGroupSize,
ProxyGroup group,
java.util.Hashtable<Request,java.lang.Integer> requestResults)
Simulate some client requests for videos to the group and calculate the requestResults. |
Method parameters in simulator.views with type arguments of type ProxyGroup | |
---|---|
private java.util.Hashtable<ProxyGroup,java.lang.Double> |
Simulator.evaluateNetClAvgGroupBandwidths(java.util.Vector<ProxyGroup> proxyGroups,
java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> bwsPerNode)
Evaluate average group bandwidths and print them to stdout 1. |
private boolean |
Simulator.evaluateNetworkCloseness1(java.util.Vector<ProxyGroup> semanticProxyGroups,
java.util.Vector<ProxyGroup> netProxyGroups)
evaluate the net-closeness results (subgroups of semantic groups) using the request-logs generated through medisyn |
private boolean |
Simulator.evaluateNetworkCloseness1(java.util.Vector<ProxyGroup> semanticProxyGroups,
java.util.Vector<ProxyGroup> netProxyGroups)
evaluate the net-closeness results (subgroups of semantic groups) using the request-logs generated through medisyn |
private boolean |
Simulator.evaluateNetworkCloseness2(java.lang.String groupNameFilter,
java.util.Vector<ProxyGroup> semanticProxyGroups,
java.util.Vector<ProxyGroup> netProxyGroups)
evaluate the net-closeness results (subgroups of semantic groups) using the request-logs generated through medisyn |
private boolean |
Simulator.evaluateNetworkCloseness2(java.lang.String groupNameFilter,
java.util.Vector<ProxyGroup> semanticProxyGroups,
java.util.Vector<ProxyGroup> netProxyGroups)
evaluate the net-closeness results (subgroups of semantic groups) using the request-logs generated through medisyn |
private void |
Simulator.printGroupAvgBandwidths(java.util.Hashtable<ProxyGroup,java.lang.Double> groupBws)
|
private void |
Simulator.printGroupAvgBandwidths2(java.util.Vector<ProxyGroup> proxyGroups,
java.util.Hashtable<java.lang.String,java.lang.Double> groupBws)
print out the calculated average group-bandwidths for each group |
private void |
Simulator.printProxiesAndGroups(java.util.Vector<ProxyGroup> proxyGroups,
java.util.Vector<X2XProxy> proxies)
Prints the proxy groups and the proxies to stdout. |
private boolean |
Simulator.simulateNetworkCloseness1Offline(java.util.Vector<X2XProxy> proxies,
java.util.Vector<ProxyGroup> proxyGroups,
java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> bwsPerNode)
Used for the formation of Network closeness v1 groups. |
private boolean |
Simulator.simulateNetworkCloseness1Online(java.util.Vector<X2XProxy> proxies,
java.util.Vector<ProxyGroup> proxyGroups,
java.util.Hashtable<X2XProxy,java.util.Vector<StructBandwidthInfoBean>> bwsPerNode)
Used for the formation of Network closeness v1 groups. |
Constructors in simulator.views with parameters of type ProxyGroup | |
---|---|
Simulator.NetClosenessThread(Simulator sim,
ProxyGroup group,
java.lang.String resultFilePath,
Simulator.SimExecMode execMode,
java.util.Hashtable<java.lang.String,java.lang.Double> groupBws,
Simulator.FormSubgroupsMode subgroupMode)
Constructs the NetClosenessThread |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES All Classes |