$ A B C D E F G H I J L M N Q R S T W

$

$tasksExecuted() - Method in class janet.services.HostTaskStats
Returns the number of Task objects executed by this Service.
$tasksExecuted() - Method in class janet.services.TaskStats
Get the number of Task objects executed.

A

add(Object) - Method in class janet.utilities.Qu
Add an object to the queue.
add(Solution) - Method in class janet.applications.branchandbound.Q
Add a Solution object to the Q.
AddInteger - class janet.services.tasks.AddInteger.
A compositional Task, whose inputs & output are Integer.
AddInteger() - Constructor for class janet.services.tasks.AddInteger
 
Atomic - class janet.services.Atomic.
A Task should extend Atomic, if the task's execute method does not spawn new subtasks.
Atomic() - Constructor for class janet.services.Atomic
 

B

beginTime() - Method in class janet.services.Invoice
Get the time the login session began.
BranchAndBound - class janet.applications.branchandbound.BranchAndBound.
BranchAndBound.java - a Janet task for a generic branch & bound framework.
BranchAndBound(Solution) - Constructor for class janet.applications.branchandbound.BranchAndBound
Used to construct a BranchAndBound task that corresponds to the search subtree represented by the Solution passed to it as its argument.

C

Client2Hsp - class janet.services.Client2Hsp.
A smart proxy for the Hsp that runs on a client within HspAgent.
ClientProfile - class janet.services.ClientProfile.
Information about its currently waiting clients, if any, and its running client, if any, that is publicly available from the Hsp.
compute(Task) - Method in class janet.services.Client2Hsp
Application gives a task to the Hsp.
compute(Task) - Method in class janet.services.Task
This is used to "dispatch" a subtask (its argument).
ComputeException - exception janet.services.ComputeException.
Exception thrown by the Client2Hsp compute method when a task's execute method throws an Exception.

D

domainName() - Method in class janet.foundation.ServiceName
Returns the Service's domain name.

E

endTime() - Method in class janet.services.Invoice
Get the time the login session ended.
Environment - class janet.services.Environment.
Container class for 2 items that currently are associated with a client's login session: the input to the computation (e.g., in a Traveling Salesman problem (TSP), the input is the graph), and the Shared Object (e.g., in the TSP, the cost of the best known tour, which initially is "infinite", may be a Shared Object).
Environment(Object, Shared) - Constructor for class janet.services.Environment
Used to construct the client's computational environment.
equals(Object) - Method in class janet.services.ResultId
Used so that ResultId objects can be the key in utility data structures, such as HashMap.
execute(Environment) - Method in class janet.services.Task
This method implements the computation encapsulated by this task.
execute(Environment) - Method in class janet.services.tasks.MinSolution
This method returns the Solution Object among its inputs, whose IntUpperBound has minimal intValue, provided that it is at least as low as the Shared objects intValue.
execute(Environment) - Method in class janet.services.tasks.AddInteger
This method's returned value is the Integer whose intValue is the sum of the intValues of its Integer inputs.
execute(Environment) - Method in class janet.applications.branchandbound.BranchAndBound
The method that searches the search tree.

F

fetchTask() - Method in class janet.services.Environment
Initiate a non-blocking Task request from the Host's TaskServer.

G

get() - Method in interface janet.services.Shared
Returns the shared Object.
get() - Method in class janet.utilities.Qu
Get the object at the head of the queue.
get() - Method in class janet.services.shared.IntUpperBound
Returns a reference to the shared Integer Object.
get(Class) - Method in class janet.services.TaskClassStats
Get the TaskStats object associated with a particular Task Class.
getChildren(Environment) - Method in interface janet.applications.branchandbound.Solution
returns an LinkedList of the Solution objects that are the children of this Solution.
getClient2Hsp() - Method in class janet.services.HspAgent
Returns a Remote reference to an Hsp.
getClientQ() - Method in class janet.services.HspState
Get the client queue.
getDate() - Method in class janet.services.ClientProfile
Get the date that the client accessed the Hsp.
getDomainName() - Method in class janet.services.ClientProfile
Get the domain name of the machine from which the client logged in to the Hsp.
getId() - Method in class janet.services.Result
get the computation identifier: The identifier that distinguished this computation from all computations associated with the client's current registration session.
getInput() - Method in class janet.services.Environment
returns input that is common to all tasks of this computation.
getInput(int) - Method in class janet.services.Task
Returns input[i].
getIpAddress() - Method in class janet.services.ClientProfile
Get the IP address of the machine from which the client logged in to the Hsp.
getLoginTime() - Method in class janet.services.ClientProfile
The time on the Hsp that the client login command was processed.
getLowerBound(Object) - Method in interface janet.applications.branchandbound.Solution
returns the lower bound on the cost of any complete Solution that is an extension of this partial Solution.
getResult() - Method in class janet.services.Client2Hsp
Get the Result object for some computation that was initiated via the setComputation method.
getShared() - Method in class janet.services.Environment
returns the modifiable Object that is common to all tasks of this computation.
getState() - Method in class janet.services.Client2Hsp
Returns information associated with the state of the Hsp.
getTaskId() - Method in class janet.services.Task
get the TaskId of this Task.
getUserName() - Method in class janet.services.ClientProfile
Gets the user name associated with the client.
getValue() - Method in class janet.services.Result
get the value.

H

hashCode() - Method in class janet.services.ResultId
Used so that ResultId objects can be the key in utility data structures, such as HashMap.
HostTaskStats - class janet.services.HostTaskStats.
Contains task execution statistics for 1 Host that are associated with a single login session.
HspAgent - class janet.services.HspAgent.
Responsible for discovering an appropriate Hsp.
HspAgent(String) - Constructor for class janet.services.HspAgent
The constructor discovers a new Hosting Service Provider (Hsp).
HspState - class janet.services.HspState.
A snapshot of the state of an Hsp.
hspTaskStats() - Method in class janet.services.Invoice
Returns a List of ServiceTaskStat objects, 1 for each TaskServer.

I

IntUpperBound - class janet.services.shared.IntUpperBound.
IntUpperBound.java IMMUTABLE
IntUpperBound(int) - Constructor for class janet.services.shared.IntUpperBound
Construct an IntUpperBound from the int argument.
Invoice - class janet.services.Invoice.
Has information about the computational resources used for a login session, including Task statistics, broken out by Task class.
ipAddress() - Method in class janet.foundation.ServiceName
Returns the Service's IP address.
isAtomic(Task) - Method in interface janet.applications.branchandbound.Solution
returns true if and only if this solution should be explored directly by a Host (as opposed to being further decomposed).
isComplete() - Method in interface janet.applications.branchandbound.Solution
returns true if and only if the partial Solution is, in fact, complete.
isEmpty() - Method in class janet.utilities.Qu
Is the queue empty?
isNewerThan(Shared) - Method in interface janet.services.Shared
Is this Shared object newer than the argument Shared object.
isNewerThan(Shared) - Method in class janet.services.shared.IntUpperBound
This method operationally defines the semantics of newer.

J

janet.applications.branchandbound - package janet.applications.branchandbound
 
janet.services.shared - package janet.services.shared
 
janet.services.tasks - package janet.services.tasks
 
JanetException - exception janet.services.JanetException.
If a JanetException is thrown, then an unexpected runtime exception was thrown - a bug in Janet - that prevents the client's application from proceeding.
JanetException(String) - Constructor for class janet.services.JanetException
 

L

login(Environment) - Method in class janet.services.Client2Hsp
login Client with the Hsp.
logout() - Method in class janet.services.Client2Hsp
logout Client from the Hsp.

M

main(String[]) - Static method in class janet.applications.utilities.graph.WeightedMatch
Used as a convenient repository of a simple unit test.
MAXIMIZE - Static variable in class janet.applications.utilities.graph.WeightedMatch
The value that indicates that a maximum cost maximum match is sought.
MINIMIZE - Static variable in class janet.applications.utilities.graph.WeightedMatch
The value that indicates that a minimum cost maximum match is sought.
MinSolution - class janet.services.tasks.MinSolution.
A compositional Task, whose inputs & output are Solution objects, used in branch & bound applications.
MinSolution() - Constructor for class janet.services.tasks.MinSolution
 

N

numHosts() - Method in class janet.services.HspState
Get the number of hosts currently available to the Hsp.
numInputs() - Method in class janet.services.Task
Returns the number of inputs to this computational task.
numTaskServers() - Method in class janet.services.HspState
Get the number of task servers currently available to the Hsp.

Q

Q - class janet.applications.branchandbound.Q.
Q: Queue of Solution objects
Q() - Constructor for class janet.applications.branchandbound.Q
 
Qu - class janet.utilities.Qu.
A thread-safe queue of Objects.
Qu() - Constructor for class janet.utilities.Qu
 

R

remove() - Method in class janet.utilities.Qu
Remove an object according to the FIFO discipline.
Result - class janet.services.Result.
A data container for a computation's result.
ResultId - class janet.services.ResultId.
A object that functions as an identifier for a particular computation: Every computation initiated by either a Hsp compute method or Hsp setComputation method has a unique ResultId associated with it.

S

service() - Method in class janet.foundation.ServiceName
Not used by Janet applications.
ServiceName - class janet.foundation.ServiceName.
Immutable object that has the Service object's name information.
serviceName() - Method in class janet.services.ServiceTaskStats
Returns the ServiceName object associated with this Service.
ServiceName(ServiceName) - Constructor for class janet.foundation.ServiceName
 
ServiceTaskStats - class janet.services.ServiceTaskStats.
Contains Service name information and a List of Task statistics for a set of subordinate Janet Services.
serviceTaskStats() - Method in class janet.services.ServiceTaskStats
Returns a List of objects that contain Task statistics for a subordinate Service.
setComputation(Task) - Method in class janet.services.Client2Hsp
This method is used to initiate a computation without waiting for the computation to complete.
setShared(Shared) - Method in class janet.services.Environment
Sets the value of the mutable Shared Object that is common to all tasks of this computation.
Shared - interface janet.services.Shared.
This interface must be implemented by all objects that the application shares among tasks.
Solution - interface janet.applications.branchandbound.Solution.
The interface of an object that represents a solution to a branch & bound search.
stringName() - Method in class janet.foundation.ServiceName
 

T

Task - class janet.services.Task.
Task encapsulates computational tasks.
Task() - Constructor for class janet.services.Task
A no argument constructor is needed by RMI when unmarshalling arguments and/or return values.
TaskClassStats - class janet.services.TaskClassStats.
extends HashMap.
taskClassStats() - Method in class janet.services.HostTaskStats
Returns the TaskClassStats object associated with this Service.
TaskClassStats() - Constructor for class janet.services.TaskClassStats
 
TaskStats - class janet.services.TaskStats.
Contains task execution time information for a particular Task Class.
TaskStats() - Constructor for class janet.services.TaskStats
 
toString() - Method in class janet.foundation.ServiceName
Returns a String representation of the object.
toString() - Method in class janet.services.ClientProfile
A string representation of the object.
toString() - Method in class janet.services.Invoice
Returns a String representation of the Invoice.
toString() - Method in class janet.services.Task
returns a String representation of the Task.
toString() - Method in class janet.utilities.Qu
Returns a String representation of the object.
toString() - Method in interface janet.applications.branchandbound.Solution
returns a String representation of this partial solution.
toString(String) - Method in class janet.services.HostTaskStats
Returns a String representation of this object.
toString(String) - Method in class janet.services.TaskClassStats
Returns a String representation of a TaskStat object.
totalExecutionTime() - Method in class janet.services.TaskStats
Get the total execution time for these Task objects.

W

WeightedMatch - class janet.applications.utilities.graph.WeightedMatch.
This class implements a [minimum | maximum] cost maximum matching based on an O(n^3) implementation of Edmonds' algorithm, as presented by Harold N.
WeightedMatch() - Constructor for class janet.applications.utilities.graph.WeightedMatch
Construct a WeightedMatch object.
weightedMatch(int[][], boolean) - Method in class janet.applications.utilities.graph.WeightedMatch
The int cost matrix is assumed to be square and symmetric (undirected).

$ A B C D E F G H I J L M N Q R S T W