1461048779-8a782d6e-2738-491d-9070-a7945710eae1

What is claimed:

1. A device for determining the optimal point of entry of a surgical tool adapted for use by a physician in accessing a target site within a patient’s body, comprising:
(a) an articulated mechanical arm having or accommodating a distal-end probe;
(b) a tracking controller for tracking the position and orientation of the probe with respect to a predetermined target coordinate;
(c) an imaging device in communication with the tracking controller for generating information of the target site and intervening tissue as seen from a selected point outside or inside the body, along a line between that point and the target point coordinate; and
(d) an actuator, in communication with the tracking controller, for adjusting the orientation of the mechanical arm so as to orient the axis of the probe or device in the direction of the target point coordinate, as the probe or device is moved in space to a selected position outside or inside the body;
wherein the user can approach the target site, or view the target site and intervening tissue, along a trajectory from the selected position to the target point coordinate.
2. The device of claim 1, wherein the imaging device constructs an image of the target site using preoperatively or intraoperatively scan data, and wherein the predetermined target coordinate is assigned using the constructed image.
3. The device of claim 1, wherein the mechanical arm is a multi-segmented arm.
4. The device of claim 1, wherein, once the optimal point of entry is determined, the pointer can be replaced with a surgical tool to enter the patient’s target site along the established trajectory.
5. A method for maintaining a trajectory toward a target site and for viewing any intervening tissue along the trajectory, as defined by the axis of a viewing instrument and a target coordinate in the target site, while the instrument is moved in space, comprising:
(a) acquiring scans of the patient;
(b) using the acquired scans to obtain information of the patient target site;
(c) assigning the target coordinate on the constructed image;
(d) correlating an image coordinate system with an instrument coordinate system; and
(e) controlling the orientation of the instrument to maintain the defined trajectory, as the instrument is moved in space outside or inside the body.
6. A processor-readable medium embodying a program of instructions for execution by a processor to perform a method of maintaining a trajectory toward a target site, as defined by the axis of a viewing instrument and a target coordinate in the target site, while the instrument is moved in space, the program of instructions comprising instructions for:
(a) acquiring scans of the patient;
(b) using the acquired scans to obtain information of the patient target site;
(c) assigning the target coordinate on the constructed image;
(d) correlating an image coordinate system with an instrument coordinate system; and
(e) controlling the orientation of the instrument to maintain the defined trajectory, as the instrument is moved in space outside or inside the body.
7. A device for maintaining a trajectory between a tip of an instrument and a moving target in a patient’s body, comprising:
(a) an articulated mechanical arm having or accommodating a distal-end instrument having a tip that has or accommodates a force contact sensor;
(b) a tracking mechanism for tracking the position and orientation of the instrument with respect to coordinates of the moving target;
(c) a processor in communication with the tracking mechanism for calculating and updating the coordinates of the moving target; and
(d) an actuator, in communication with the tracking mechanism, for adjusting the orientation of the mechanical arm, so as to maintain the trajectory between the tip of the instrument in the direction of the moving target.
8. The device in claim 7, wherein the instrument inserts a constant pressure upon the tissue surface while marinating the trajectory toward the target.
9. A method for maintaining a trajectory between a tip of an instrument and a moving target in a patient’s body using a robot-held instrument, comprising:
(a) acquiring scans of the patient;
(b) using the acquired scans to construct an image of the patient target site;
(c) assigning the target coordinate on the constructed image; and
(d) controlling the orientation of the instrument to maintain a trajectory defined by the axis of the probe and a point on the moving target, while maintaining the tip of the instrument at a fixed location against a tissue surface, as the instrument is moved in space outside or inside the body.
10. The device in claim 9, wherein the instrument inserts a constant pressure upon the tissue surface while marinating the trajectory toward the target.
11. A processor-readable medium embodying a program of instructions for execution by a processor to perform a method of maintaining a trajectory between a tip of an instrument and a moving target in a patient’s body using a robot-held instrument, the program of instructions comprising instructions for:
(a) acquiring scans of the patient;
(b) using the acquired scans to construct an image of the patient target site;
(c) assigning the target coordinate on the constructed image; and
(d) controlling the orientation of the instrument to maintain a trajectory defined by the axis of the probe and a point on the moving target, as the instrument is moved in space outside or inside the body.
12. The device in claim 11, wherein the instrument inserts a constant pressure upon the tissue surface while marinating the trajectory toward the target.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. A method for scheduling a plurality of Term Rewriting System (TRS) rules in a hardware design system, comprising:
providing a preference order for a set of three or more conflicting TRS rules of the plurality of TRS rules, wherein the preference order indicates an order for the scheduling of each rule in the set of three or more conflicting TRS rules such that a preferred rule in the set of three or more conflicting TRS rules is scheduled to execute when in conflict with a less-preferred rule in the set of three or more conflicting TRS rules
scheduling for execution on a state of the hardware design system, multiple TRS rules from the set of three or more conflicting TRS rules, such that a most preferred rule in the preference order is scheduled to execute before other less-preferred TRS rules in the set of three or more conflicting TRS rules; and
wherein each of the less-preferred TRS rules in the set are scheduled to execute in decreasing preference until each conflicting rule has been scheduled.
2. The method of claim 1 further comprising the step of:
scheduling for execution on the state, one or more non-conflicting TRS rules of the plurality of TRS rules.
3. The method of claim 1 wherein the step of providing further comprises the step of:
enumerating, by a user, the preference order for the set of three or more conflicting TRS rules, and
wherein the preference order is a user-specified preference order.
4. The method of claim 3 wherein the step of enumerating further comprises the step of:
listing, by a user, the user-specified preference order for the set of three or more conflicting TRS rules in an attribute statement.
5. The method of claim 3 further comprising the step of:
displaying one or more messages to the user, the one or more messages including conflict information concerning one or more rules from the set of three or more conflicting TRS rules.
6. The method of claim 1 wherein the step of providing further comprises the step of:
generating according to a heuristic, by the hardware design system, the preference order for the set of three or more conflicting TRS rules.
7. The method of claim 1 wherein the step of scheduling further comprises the step of:
computing, in a time frame polynomially related to the number of TRS rules in the plurality of TRS rules, a schedule for the execution of the plurality of TRS rules.
8. The method of claim 1 wherein the preference order is chosen according to efficiency criteria and being preferred in the preference order represents being more essential for efficient hardware.
9. A hardware design system having a plurality of Term Rewriting System (TRS) rules, comprising:
a preference order for a set of three or more conflicting TRS rules of the plurality of TRS rules, wherein the preference order indicates an order for the scheduling of each rule in the set of three or more conflicting TRS rules such that a preferred rule in the set of three or more conflicting TRS rules is scheduled to execute when in conflict with a less-preferred rule in the set of three or more conflicting TRS rules; and
a Term Rewriting System Compiler (TRSC) adapted to schedule for execution on a state of the hardware design system multiple TRS rules from the set of three or more conflicting TRS rules, such that a most preferred rule in the preference order is scheduled to execute before other less-preferred TRS rules in the set of three or more conflicting TRS rules.
10. The hardware design system of claim 9 wherein the TRSC is further adapted to schedule for execution on the state one or more non-conflicting TRS rules of the plurality of TRS rules.
11. The hardware design system of claim 9 wherein the preference order is a user-specified preference order.
12. The hardware design system of claim 11 further comprising:
an attribute statement for specifying the user-specified preference order for the set of three or more conflicting TRS rules.
13. The hardware design system of claim 11 further comprising:
one or more warning messages adapted for display to a user, the one or more warning messages including conflict information concerning one or more rules from the set of three or more conflicting TRS rules.
14. The hardware design system of claim 9 further comprising:
a heuristic for generating the preference order for the set of three or more conflicting TRS rules.
15. The hardware design system of claim 11 wherein the preference order is according to efficiency criteria and being preferred in the preference order represents being more essential for efficient hardware.
16. A computer readable medium containing executable program instructions which, when executed by the computer, perform the scheduling of a plurality of Term Rewriting System (TRS) rules in a hardware design system, the executable program instruction comprising program instruction for:
providing a preference order for a set of We three or more conflicting TRS rules of the plurality of TRS rules, wherein the preference order indicates an order for the scheduling of each rule in the set of three or more conflicting TRS rules such that a preferred rules in the set of three or more conflicting TRS rules is scheduled to execute when in conflict with a less-preferred rule in the set of three or more conflicting TRS rules; and
scheduling for execution on a state of the hardware system, multiple TRS rules from the set of three or more conflicting TRS rules, such that a most preferred rule in the preference order is scheduled to execute before other less-preferred TRS rules in the set of three or more conflicting TRS rules.
17. The computer readable medium of claim 16 further comprising program instructions for:
scheduling for execution on the state, one or more non-conflicting TRS rules of the plurality of TRS rules.
18. The computer readable medium of claim 16 further comprising program instructions for:
receiving the preference order for the set of we three or more conflicting TRS rules from a user, and
wherein the preference order is a user-specified preference order.
19. A hardware circuit produced according to a process that comprises the steps of:
providing a preference order for a set of three or more conflicting TRS rules of a plurality of TRS rules, wherein the preference order indicates an order for the scheduling of each rule in the set of three or more conflicting TRS rules such that a preferred rule in the set of three or more conflicting TRS rules is scheduled to execute when in conflict with a less-preferred rule in the set of three or more conflicting TRS rules; and
scheduling for execution on a state of the hardware circuit, multiple TRS rules from the set of three or more conflicting TRS rules, such that a most preferred rule in the preference order is scheduled to execute before other less-preferred TRS rules in the set of three or more conflicting TRS rules.
20. The hardware circuit of claim 19 produced according to a process that further comprises the steps of:
scheduling for execution on the state, one or more non-conflicting TRS rules of the plurality of TRS rules.
21. The hardware circuit of claim 19 produced according to a process that further comprises the steps of:
enumerating, by a user, the preference order for the set of three or more conflicting TRS rules, and
wherein the preference order is a user-specified preference order.