Explore chapters and articles related to this topic
Agents, Objects, and Frames
Published in Adrian A. Hopgood, Intelligent Systems for Engineers and Scientists, 2021
Each object has a set of operations or functions that it can perform. For example, a Shear_pulse object may contain the function move. This function would take as its parameters the amount and direction of movement, and it would return a new value for its position attribute. In some OOP languages, operations belonging to objects are called methods. In C++, they are called member functions. Operations are defined for a class and can be used by all instances of that class. It may also be possible for instances of other classes to access these operations (see Sections 4.6.4 and 4.6.5).
Object-Oriented Programming
Published in José Miguel, David Báez-López, David Alfredo Báez Villegas, ® Handbook with Applications to Mathematics, Science, Engineering, and Finance, 2019
José Miguel, David Báez-López, David Alfredo Báez Villegas
Polymorphism is the property that allows OOP values of different types of data to be handled using a uniform interface. The same method can be used by several classes, but differently. When the same method is applied to different objects, although they share the same name of the method, the behavior will be produced for the type of object that is invoking it. When this occurs in “runtime”, this feature is called late assignment (late binding) or dynamic allocation.
Computerized Maintenance Management Systems (CMMS): The Evolution of a Maintenance Management Program
Published in Barney L. Capehart, Timothy Middelkoop, Paul J. Allen, David C. Green, Handbook of Web Based Energy Information and Control Systems, 2020
Object-oriented programming (OOP) is a programming language model structured around “objects” rather than step-by-step routines. In top-down structured programming, the problem is broken into natural pieces and each piece is solved independently in sequence. Logic flows from the top to the bottom. Data are input, processed, and output.
Model-based hardware in the loop control of collaborative robots: Simulink and Python based interfaces
Published in International Journal of Computer Integrated Manufacturing, 2023
The iiwaPy implements a client/server architecture, Figure 1. The Transmission Control Protocol/Internet Protocol (TCP/IP) is used for the communication between an external computer running Python and the robot controller running the Sunrise.OS. An Ethernet cable on the X66 connector of the robot controller is used to connect with the external computer. To control the robot using iiwaPy, first, the user shall synchronize the server application into the robot controller. The server application is included in the KST package available online (Safeea and Neto 2019) (open access). The Java code of the server is compatible with the Sunrise.Workbench, the official development environment for KUKA iiwa robots. On the other hand, the iiwaPy library implements a TCP/IP client. Two different packages are provided, one is compatible with Python 2.7 programming language and the other is compatible with Python 3. The iiwaPy interface implements object-oriented programming, and the main class for the interface is the iiwaPy class. This class, which is the main class available to the end-user, encapsulates various methods used to interface the robot, namely (1) networking functionalities to communicate with the robot, (2) real-time control for on-the-fly robot motion in joint or Cartesian space, (3) point-to-point robot motion and (4) getters and setters. The source code of the iiwaPy package compatible with python 2.7 is available in GitHub repository https://github.com/Modi1987/iiwaPy. The source code of the iiwaPy package compatible with python 3 is available in GitHub repository https://github.com/Modi1987/iiwaPy3.
Influence of pore-network microstructure on the isothermal-drying performance of porous media
Published in Drying Technology, 2022
The present work is pointed in this direction; it studies how the microstructure, defined as the geometrical arrangement of throats, could change the drying performance of materials, even when the representing pore networks are limited in homogeneous square lattice layout, and are placed in isothermal external conditions. Since the pore-level drying-dynamics model used in this work is described in our previous work in detail,[3] it will not be covered in full detail here. The model is implemented in C++ with object-oriented programming technology. The software is named PoreDy (github.com/gitlarky/PoreDy) and is now open sourced under Apache 2.0 license. Readers are welcome to test it, use it, and if possible, contribute to it. This research aims to provide some fundamental insights into the correlations between drying performance and the microstructure design of such isothermal quick-drying materials, e.g., quick-drying textiles.
Assessing Students’ Object-Oriented Programming Skills with Java: The “Department-Employee” Project
Published in Journal of Computer Information Systems, 2020
Xihui Zhang, John D. Crabtree, Mark G. Terwilliger, Tyler T. Redman
Java is an object-oriented programming (OOP) language. Compared to structured programming techniques, object-oriented design and programming provides a more natural and intuitive way to describe real-world objects by creating classes and their runtime objects (also called instances). People possessing strong OOP skills with Java are in high demand in industry. Nine out of today’s 10 most popular programming languages support OOP.1 Although there are over 100 programming languages in existence today, research has shown that language adoption follows a power law, and the top six languages account for 75% of the software projects at SourceForge.2 As such, it is imperative that institutions of higher learning teach their students OOP skills so that the students are well prepared for their prospective careers in the field of information technology.