1460926328-ad7189a9-a795-4eb6-a20a-728d45cda45d

1. A capsule medical apparatus guidance system, comprising:
a plurality of capsule bodies including a first capsule body and a second capsule body;
the first capsule body includes a first casing which can be introduced into a subject in order to perform, in a liquid, examination of or treatment on the interior of the subject, the first casing containing a first permanent magnet, a mass of the casing excluding the first permanent magnet being set to be less than a product of a volume of the first casing and a density of the liquid;
the second capsule body includes a second casing which can be introduced into the subject in order to perform, in the liquid, examination of or treatment on the interior of the subject, the second casing containing a second permanent magnet, a mass of the second casing excluding the second permanent magnet being set to be less than a product of a volume of the second casing and the density of the liquid;
a magnetic field generation device comprising a magnetic field generator and a magnetic field generation control unit;
the magnetic field generator generates a magnetic field for the first and second permanent magnets to generate a magnetic attraction vertically upwards and vertically downwards to guide the first and second capsule bodies;
the magnetic field generation control unit controls the magnetic field generator to generate the magnetic field by setting a maximum value of the magnetic attraction that is generated vertically upward to the first capsule body and the second capsule body and a maximum value of the magnetic attraction that is generated vertically downward to the first capsule body and the second capsule body;
an input unit configured to input information on capsule body types including one or more of size and density of the plurality of capsule bodies that is guided by the magnetic attraction that is generated by the magnetic field generator; and
the magnetic field generation control unit causes the magnetic field generator to change the maximum value of the magnetic attraction generated vertically upwards to the first capsule body and the second capsule body such that the magnetic field generation control unit sets the maximum value of magnetic attraction that is generated vertically upward with respect to the first capsule body and the second capsule body corresponding to the information on capsule body types input by the input unit,
the maximum value of magnetic attraction that is generated vertically upwards for the first capsule body and the second capsule body is equal to or less than a value that is obtained by doubling a difference between a mass of the plurality of capsule bodies and a product of a volume of the plurality of capsule bodies and the density of the liquid and then multiplying the doubled difference by a gravitational acceleration.

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 vehicle design system comprising at least:
at least one processor;
at least one computer readable storage medium coupled to communicate with the processor, the computer readable storage medium including at least one design application, wherein the design application includes:
at least one lazy evaluation component adapted to:
evaluate input program code that includes at least one statement that is syntactically consistent with a procedural programming language, and that includes at least one defined function that is associated with a function defined by the procedural programming language;
identify at least one input and at least one output to the function;
build a dependency graph that relates the function to at least a second function, based on the input or the output to the function;
delay evaluation of the function, in response to the defined function, until an occurrence of at least one triggering event; and
evaluate at least the function to produce the output in response to the triggering event, wherein at least the function relates to a geometric design of least one object;
at least one imperative language component adapted to receive and process the least one statement; and
at least one functional language component adapted to receive and process the defined function and the function.
2. The vehicle design system of claim 1, wherein the lazy evaluation component is for defining a geometric definition of at least part of the object using the first instance of the defined function, and is for defining a geometric definition of at least a further part of the object using a second instance of the defined function used in connection with the second function.
3. The vehicle design system of claim 2, wherein the lazy evaluation component is for detecting a change in the input to the function, for determining that the change to the input affects the function and not the second function, and for reevaluating the first function and not the second function.
4. At least one non-transitory computer readable storage medium containing computer-executable instructions that, when loaded into at least one processor and executed, cause the processor to perform a method comprising:
evaluating input program code that includes at least one statement that is syntactically consistent with a procedural programming language, and that includes at least one rule that is not syntactically consistent with the procedural programming language, wherein the rule is associated with a first function defined by the procedural programming language;
identifying at least one input and at least one output to the first function;
building a dependency graph that relates the first function to at least a second function, based on the input or the output to the first function;
delaying evaluation of the first function, in response to the rule, until an occurrence of at least one triggering event; and
evaluating at least the first function to produce the output in response to the triggering event, wherein at least the first function relates to a geometric design of a least one object.
5. The non-transitory computer readable storage medium of claim 4, further comprising instructions for receiving a trigger event with respect to the first function, and further comprising instructions for determining whether a valid instance of the output of the first function exists in a cache.
6. The non-transitory computer readable storage medium of claim 5, further comprising instructions for retrieving the output from the cache.
7. The non-transitory computer readable storage medium of claim 5, further comprising instructions for determining that the cache contains an out of date instance of the requested output, reevaluating the first function, and re-caching a refreshed instance of the requested output.
8. The non-transitory computer readable storage medium of claim 4, wherein the instructions for building a dependency graph include instructions for relating the first function to a least one upstream function that generates at least one output that is the input to the first function.
9. The non-transitory computer readable storage medium of claim 4, wherein the instructions for building a dependency graph include instructions for relating the first function to a least one downstream function that receives as input the output of the first function.