From Optflux
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 123: | Line 123: | ||
* Create the '''MyOperation.java class''' inside the operations package | * Create the '''MyOperation.java class''' inside the operations package | ||
package myplugin4optflux.operations; | package myplugin4optflux.operations; | ||
− | + | ||
− | + | import es.uvigo.ei.aibench.core.operation.annotation.Direction; | |
− | + | import es.uvigo.ei.aibench.core.operation.annotation.Operation; | |
− | + | import es.uvigo.ei.aibench.core.operation.annotation.Port; | |
− | + | ||
'''@Operation(description="My first OptFlux operation")''' ''//use the operation annotation so that OptFlux recognizes this class as an operation'' | '''@Operation(description="My first OptFlux operation")''' ''//use the operation annotation so that OptFlux recognizes this class as an operation'' | ||
public class MyOperation { | public class MyOperation { |