Chaining actions for a directed graph

   
   

A plurality of actions are applied to a directed graph, where the directed graph has a plurality of nodes. A node in the directed graph is traversed to, and an specific method for each of the plurality of actions is performed on the traversed-node. The traversing and performing are repeated until all nodes in the directed graph have been traversed to. Only a single traversal of the directed graph need be performed to apply all of the actions to the directed graph. The plurality of the actions are in the form of a chain. Each action has an action object pointer, and the actions include a base action at a tail end of the chain and at least one chain action at a head end of the chain. The action object pointer of each chain action points to an immediately adjacent action toward the tail end of the chain, and the action object pointer of the base action points to the chain action at the head end of the chain.

Μια πολλαπλότητα των ενεργειών εφαρμόζεται σε μια κατευθυνόμενη γραφική παράσταση, όπου η κατευθυνόμενη γραφική παράσταση έχει μια πολλαπλότητα των κόμβων. Ένας κόμβος στην κατευθυνόμενη γραφική παράσταση διαπερνιέται, και μια συγκεκριμένη μέθοδος για κάθε μια από την πολλαπλότητα των ενεργειών εκτελείται στο διαπερνώ-κόμβο. Να διαπερνήσουν και η εκτέλεση επαναλαμβάνονται έως ότου έχουν διαπερνηθεί όλοι οι κόμβοι στην κατευθυνόμενη γραφική παράσταση. Μόνο ενιαίος ένας traversal της κατευθυνόμενης γραφικής παράστασης χρειάζεται να εκτελεσθεί για να εφαρμόσει όλες τις ενέργειες στην κατευθυνόμενη γραφική παράσταση. Η πολλαπλότητα των ενεργειών είναι υπό μορφή αλυσίδας. Κάθε ενέργεια έχει έναν δείκτη αντικειμένου δράσης, και οι ενέργειες περιλαμβάνουν μια δράση βάσεων σε ένα τέλος ουρών της αλυσίδας και τουλάχιστον μια δράση αλυσίδων σε ένα επικεφαλής τέλος της αλυσίδας. Ο δείκτης αντικειμένου δράσης των σημείων κάθε ενέργειας αλυσίδων σε μια αμέσως παρακείμενη δράση προς το τέλος ουρών της αλυσίδας, και ο δείκτης αντικειμένου δράσης των σημείων δράσης βάσεων στη δράση αλυσίδων στο επικεφαλής τέλος της αλυσίδας.

 
Web www.patentalert.com

< Multiparty conference authentication

< Method having multiple interfaces with distinguished functions and commands for providing services to a device through a transport

> Creation of web pages through synchronization

> Systems and methods for switching internet contexts without process shutdown

~ 00113