Uses of Class
edu.isi.pegasus.planner.partitioner.graph.GraphNode
-
-
Uses of GraphNode in edu.isi.pegasus.planner.classes
Methods in edu.isi.pegasus.planner.classes that return GraphNode Modifier and Type Method Description GraphNodeADag. getNode(java.lang.String identifier)Returns the node matching the id passed.GraphNodeAggregatedJob. getNode(java.lang.String identifier)Returns the node matching the id passed.Methods in edu.isi.pegasus.planner.classes that return types with arguments of type GraphNode Modifier and Type Method Description java.util.Iterator<GraphNode>ADag. bottomUpIterator()Returns an iterator that traverses the graph bottom up from the leaves.java.util.List<GraphNode>ADag. getLeaves()Returns the leaf nodes of the Graph.java.util.List<GraphNode>AggregatedJob. getLeaves()Returns the leaf nodes of the Graph.java.util.List<GraphNode>ADag. getRoots()Returns the root nodes of the Graph.java.util.List<GraphNode>AggregatedJob. getRoots()Returns the root nodes of the Graph.java.util.Iterator<GraphNode>ADag. iterator()Returns an iterator that traverses through the graph using a graph traversal algorithm.java.util.Iterator<GraphNode>AggregatedJob. iterator()Returns an iterator that traverses through the graph using a graph traversal algorithm.java.util.Iterator<GraphNode>ADag. jobIterator()Returns an iterator for traversing through the jobs in the workflow.java.util.Iterator<GraphNode>ADag. nodeIterator()Returns an iterator for the nodes in the Graph.java.util.Iterator<GraphNode>AggregatedJob. nodeIterator()Returns an iterator for the nodes in the Graph.java.util.Iterator<GraphNode>ADag. topologicalSortIterator()Returns an iterator for the graph that traverses in topological sort order.java.util.Iterator<GraphNode>AggregatedJob. topologicalSortIterator()Returns an iterator for the graph that traverses in topological sort order.Methods in edu.isi.pegasus.planner.classes with parameters of type GraphNode Modifier and Type Method Description voidADag. addEdge(GraphNode parent, GraphNode child)Adds an edge between two already existing nodes in the graph.voidAggregatedJob. addEdge(GraphNode parent, GraphNode child)Adds an edge between two already existing nodes in the graph.voidADag. addNode(GraphNode node)Adds a node to the Graph.voidAggregatedJob. addNode(GraphNode node)Adds a node to the Graph.voidADag. addRoot(GraphNode root)Adds a single root node to the Graph.voidAggregatedJob. addRoot(GraphNode root)Adds a single root node to the Graph.private java.lang.StringADag. complain(java.lang.String desc, GraphNode node, GraphNode linkedNode)Convenience method to complain for a linked node from a node that does not exist in the DAG -
Uses of GraphNode in edu.isi.pegasus.planner.cluster
Methods in edu.isi.pegasus.planner.cluster with parameters of type GraphNode Modifier and Type Method Description static PartitionerClustererFactory. loadPartitioner(PegasusProperties properties, java.lang.String type, GraphNode root, java.util.Map graph)Loads the appropriate partitioner on the basis of the clustering type specified in the options passed to the planner. -
Uses of GraphNode in edu.isi.pegasus.planner.parser.dax
Fields in edu.isi.pegasus.planner.parser.dax declared as GraphNode Modifier and Type Field Description protected GraphNodeDAX2Graph. mRootThe root node for the graph that is constructed.Methods in edu.isi.pegasus.planner.parser.dax that return GraphNode Modifier and Type Method Description GraphNodeDAX2NewGraph. get(java.lang.String key)Returns theGraphNodeof the corresponding id. -
Uses of GraphNode in edu.isi.pegasus.planner.partitioner
Fields in edu.isi.pegasus.planner.partitioner declared as GraphNode Modifier and Type Field Description private GraphNodePartition. mLastAddedNodeA pointer to the last added node to the partition.protected GraphNodePartitioner. mRootThe root node of the graph from where to start the BFS.Methods in edu.isi.pegasus.planner.partitioner that return GraphNode Modifier and Type Method Description GraphNodePartition. lastAddedNode()Returns the last added node to the partition.Methods in edu.isi.pegasus.planner.partitioner that return types with arguments of type GraphNode Modifier and Type Method Description java.util.List<GraphNode>Partition. getNodes()Returns a list of nodes making up the partition.Methods in edu.isi.pegasus.planner.partitioner with parameters of type GraphNode Modifier and Type Method Description voidPartition. addNode(GraphNode node)Adds a node to the partition.private java.lang.StringLabel. getLabel(GraphNode node)Returns the label for the node.static PartitionerPartitionerFactory. loadInstance(PegasusProperties properties, GraphNode root, java.util.Map graph, java.lang.String className)Loads the implementing class corresponding to the type specified by the user.Constructors in edu.isi.pegasus.planner.partitioner with parameters of type GraphNode Constructor Description BFS(GraphNode root, java.util.Map graph, PegasusProperties properties)The overloaded constructor.Horizontal(GraphNode root, java.util.Map graph, PegasusProperties properties)The overloaded constructor.Label(GraphNode root, java.util.Map graph, PegasusProperties properties)The overloaded constructor.One2One(GraphNode root, java.util.Map graph, PegasusProperties properties)The overloaded constructor.Partitioner(GraphNode root, java.util.Map graph, PegasusProperties properties)The overloaded constructor.Whole(GraphNode root, java.util.Map graph, PegasusProperties properties)The overloaded constructor. -
Uses of GraphNode in edu.isi.pegasus.planner.partitioner.graph
Fields in edu.isi.pegasus.planner.partitioner.graph with type parameters of type GraphNode Modifier and Type Field Description private java.util.Set<GraphNode>GraphNode. mChildrenThe list of children of the job/node in the abstract graph.private java.util.Set<GraphNode>GraphNode. mParentsThe list of parents of the job/node in the abstract graph.private java.util.List<GraphNode>TopologicalSortIterator. mQueueThe internal list of nodes that contains the nodes to be traversed.Methods in edu.isi.pegasus.planner.partitioner.graph that return GraphNode Modifier and Type Method Description GraphNodeGraph. getNode(java.lang.String identifier)Returns the node matching the id passed.GraphNodeMapGraph. getNode(java.lang.String identifier)Returns the node matching the id passed.Methods in edu.isi.pegasus.planner.partitioner.graph that return types with arguments of type GraphNode Modifier and Type Method Description java.util.Iterator<GraphNode>Graph. bottomUpIterator()Returns an iterator that traverses the graph bottom up from the leaves.java.util.Collection<GraphNode>GraphNode. getChildren()Returns a list ofGraphNodeobjects that are children of the node.java.util.List<GraphNode>Graph. getLeaves()Returns the leaf nodes of the Graph.java.util.List<GraphNode>MapGraph. getLeaves()Returns the leaf nodes of the Graph.java.util.Collection<GraphNode>GraphNode. getParents()Returns a list ofGraphNodeobjects that are parents of the node.java.util.List<GraphNode>Graph. getRoots()Returns the root nodes of the Graph.java.util.List<GraphNode>MapGraph. getRoots()Returns the root nodes of the Graph.java.util.Iterator<GraphNode>Graph. iterator()Returns an iterator that traverses through the graph using a graph traversal algorithm.java.util.Iterator<GraphNode>Graph. nodeIterator()Returns an iterator for the nodes in the Graph.java.util.Iterator<GraphNode>Graph. topologicalSortIterator()Returns an iterator for the graph that traverses in topological sort order.java.util.Iterator<GraphNode>MapGraph. topologicalSortIterator()Returns an iterator for the graph that traverses in topological sort order.Methods in edu.isi.pegasus.planner.partitioner.graph with parameters of type GraphNode Modifier and Type Method Description voidGraphNode. addChild(GraphNode child)Adds a child to end of the child list.voidGraph. addEdge(GraphNode parent, GraphNode child)Adds an edge between two already existing nodes in the graph.voidMapGraph. addEdge(GraphNode parent, GraphNode child)Adds an edge between two already existing nodes in the graph.voidGraph. addNode(GraphNode node)Adds a node to the Graph.voidMapGraph. addNode(GraphNode node)Adds a node to the Graph.voidGraphNode. addParent(GraphNode parent)Adds a parent to end of the parent list.voidGraph. addRoot(GraphNode root)Adds a single root node to the Graph.voidMapGraph. addRoot(GraphNode root)Adds a single root node to the Graph.voidGraphNode. removeChild(GraphNode child)Removes a child linkage to the node.voidGraphNode. removeParent(GraphNode parent)Removes a parent linkage to the node.Method parameters in edu.isi.pegasus.planner.partitioner.graph with type arguments of type GraphNode Modifier and Type Method Description voidGraphNode. setChildren(java.util.Collection<GraphNode> children)It sets the children to the node.voidGraphNode. setParents(java.util.Collection<GraphNode> parents)It adds the parents to the node. -
Uses of GraphNode in edu.isi.pegasus.planner.refiner
Fields in edu.isi.pegasus.planner.refiner with type parameters of type GraphNode Modifier and Type Field Description private java.util.List<GraphNode>DataReuseEngine. mAllDeletedNodesList of all deleted jobs during workflow reduction.Methods in edu.isi.pegasus.planner.refiner that return types with arguments of type GraphNode Modifier and Type Method Description private java.util.Collection<GraphNode>ReduceEdges. findLCA(GraphNode from, GraphNode to)We find LCA of from and to.private java.util.List<GraphNode>DataReuseEngine. getJobsInRC(Graph workflow, java.util.Set filesInRC)Returns all the jobs whose output files exist in the Replica Catalog.Methods in edu.isi.pegasus.planner.refiner with parameters of type GraphNode Modifier and Type Method Description voidReduceEdges. assignLevels(Graph workflow, GraphNode root)Prunes redundant edges from the workflow.private java.util.Collection<GraphNode>ReduceEdges. findLCA(GraphNode from, GraphNode to)We find LCA of from and to.protected booleanDataReuseEngine. transferOutput(GraphNode node)Returns whether a user wants output transferred for a node or not.Method parameters in edu.isi.pegasus.planner.refiner with type arguments of type GraphNode Modifier and Type Method Description protected GraphDataReuseEngine. cascadeDeletionUpwards(Graph workflow, java.util.List<GraphNode> originalJobsInRC)Cascade the deletion of the jobs upwards in the workflow.private java.util.Collection<FileTransfer>[]TransferEngine. getInterpoolFileTX(Job job, java.util.Collection<GraphNode> parents)This gets the Vector of FileTransfer objects for all the files which have to be transferred to the destination pool in case of Interpool transfers.private java.util.Set<PegasusFile>TransferEngine. getOutputFiles(java.util.Collection<GraphNode> nodes)It gets the output files for all the nodes which are specified in the nodes passed.private voidTransferEngine. processParents(Job job, java.util.Collection<GraphNode> parents)It processes a nodes parents and determines if nodes are to be added or not. -
Uses of GraphNode in edu.isi.pegasus.planner.refiner.cleanup
Fields in edu.isi.pegasus.planner.refiner.cleanup declared as GraphNode Modifier and Type Field Description private GraphNodeCleanupJobContent. mNodeThe graph cleanupNode object for the associated job whose files are being deleted.Methods in edu.isi.pegasus.planner.refiner.cleanup that return GraphNode Modifier and Type Method Description private GraphNodeInPlace. createClusteredCleanupGraphNode(java.util.List<GraphNode> nodes, java.util.HashMap cleanedBy, java.lang.String site, int level, int index)Creates a clustered cleanup graph node that aggregates multiple cleanup nodes into one nodeGraphNodeCleanupJobContent. getNode()Returns the associated cleanupNode for which the files are deleted.Methods in edu.isi.pegasus.planner.refiner.cleanup that return types with arguments of type GraphNode Modifier and Type Method Description private java.util.List<GraphNode>InPlace. clusterCleanupGraphNodes(java.util.List<GraphNode> cleanupNodes, java.util.HashMap cleanedBy, java.lang.String site, int level)Takes in a list of cleanup nodes ,one per cleanupNode(compute/stageout job) whose files need to be deleted) and clusters them into a smaller set of cleanup nodes.Methods in edu.isi.pegasus.planner.refiner.cleanup with parameters of type GraphNode Modifier and Type Method Description protected voidInPlace. reduceDependency(GraphNode node)Reduces the number of edges between the nodes and it's parents.protected booleanInPlace. typeNeedsCleanUp(GraphNode node)Checks to see which job types are required to be looked at for cleanup.Method parameters in edu.isi.pegasus.planner.refiner.cleanup with type arguments of type GraphNode Modifier and Type Method Description private java.util.List<GraphNode>InPlace. clusterCleanupGraphNodes(java.util.List<GraphNode> cleanupNodes, java.util.HashMap cleanedBy, java.lang.String site, int level)Takes in a list of cleanup nodes ,one per cleanupNode(compute/stageout job) whose files need to be deleted) and clusters them into a smaller set of cleanup nodes.private GraphNodeInPlace. createClusteredCleanupGraphNode(java.util.List<GraphNode> nodes, java.util.HashMap cleanedBy, java.lang.String site, int level, int index)Creates a clustered cleanup graph node that aggregates multiple cleanup nodes into one nodeConstructors in edu.isi.pegasus.planner.refiner.cleanup with parameters of type GraphNode Constructor Description CleanupJobContent(GraphNode node, java.util.List<PegasusFile> files) -
Uses of GraphNode in edu.isi.pegasus.planner.selector.site.heft
Methods in edu.isi.pegasus.planner.selector.site.heft with parameters of type GraphNode Modifier and Type Method Description protected long[]Algorithm. calculateEstimatedStartAndFinishTime(GraphNode node, java.lang.String site)Estimates the start and finish time of a job on a site.protected floatAlgorithm. computeDownwardRank(GraphNode node)Computes the downward rank of a node.
-