| /** |
| * Copyright (c) 2020 CEA LIST |
| * |
| * All rights reserved. This program and the accompanying materials are |
| * made available under the terms of the Eclipse Public License v2.0 which |
| * accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| */ |
| package org.eclipse.papyrus.aiml.profile.AIML.Distance_functions; |
| |
| import org.eclipse.emf.ecore.EAttribute; |
| import org.eclipse.emf.ecore.EClass; |
| import org.eclipse.emf.ecore.EPackage; |
| |
| import org.eclipse.papyrus.aiml.profile.AIML.Module.ModulePackage; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * The <b>Package</b> for the model. |
| * It contains accessors for the meta objects to represent |
| * <ul> |
| * <li>each class,</li> |
| * <li>each feature of each class,</li> |
| * <li>each operation of each class,</li> |
| * <li>each enum,</li> |
| * <li>and each data type</li> |
| * </ul> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.Distance_functionsFactory |
| * @model kind="package" |
| * @generated |
| */ |
| public interface Distance_functionsPackage extends EPackage { |
| /** |
| * The package name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String eNAME = "Distance_functions"; //$NON-NLS-1$ |
| |
| /** |
| * The package namespace URI. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String eNS_URI = "http://www.eclipse.org/papyrus/AIML/distance/1"; //$NON-NLS-1$ |
| |
| /** |
| * The package namespace name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String eNS_PREFIX = "AIML.Distance_functions"; //$NON-NLS-1$ |
| |
| /** |
| * The singleton instance of the package. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| Distance_functionsPackage eINSTANCE = org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.Distance_functionsPackageImpl.init(); |
| |
| /** |
| * The meta object id for the '{@link org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.Distance_functionsImpl <em>Distance functions</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.Distance_functionsImpl |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.Distance_functionsPackageImpl#getDistance_functions() |
| * @generated |
| */ |
| int DISTANCE_FUNCTIONS = 0; |
| |
| /** |
| * The feature id for the '<em><b>Base Class</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int DISTANCE_FUNCTIONS__BASE_CLASS = ModulePackage.MODEL__BASE_CLASS; |
| |
| /** |
| * The feature id for the '<em><b>Name</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int DISTANCE_FUNCTIONS__NAME = ModulePackage.MODEL__NAME; |
| |
| /** |
| * The feature id for the '<em><b>Data</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int DISTANCE_FUNCTIONS__DATA = ModulePackage.MODEL__DATA; |
| |
| /** |
| * The feature id for the '<em><b>Requires grad</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int DISTANCE_FUNCTIONS__REQUIRES_GRAD = ModulePackage.MODEL__REQUIRES_GRAD; |
| |
| /** |
| * The feature id for the '<em><b>Sub Module</b></em>' reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int DISTANCE_FUNCTIONS__SUB_MODULE = ModulePackage.MODEL__SUB_MODULE; |
| |
| /** |
| * The feature id for the '<em><b>Optimizer</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int DISTANCE_FUNCTIONS__OPTIMIZER = ModulePackage.MODEL__OPTIMIZER; |
| |
| /** |
| * The feature id for the '<em><b>Loss</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int DISTANCE_FUNCTIONS__LOSS = ModulePackage.MODEL__LOSS; |
| |
| /** |
| * The feature id for the '<em><b>Eps</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int DISTANCE_FUNCTIONS__EPS = ModulePackage.MODEL_FEATURE_COUNT + 0; |
| |
| /** |
| * The number of structural features of the '<em>Distance functions</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int DISTANCE_FUNCTIONS_FEATURE_COUNT = ModulePackage.MODEL_FEATURE_COUNT + 1; |
| |
| /** |
| * The number of operations of the '<em>Distance functions</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int DISTANCE_FUNCTIONS_OPERATION_COUNT = ModulePackage.MODEL_OPERATION_COUNT + 0; |
| |
| /** |
| * The meta object id for the '{@link org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.CosineSimilarityImpl <em>Cosine Similarity</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.CosineSimilarityImpl |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.Distance_functionsPackageImpl#getCosineSimilarity() |
| * @generated |
| */ |
| int COSINE_SIMILARITY = 1; |
| |
| /** |
| * The feature id for the '<em><b>Base Class</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int COSINE_SIMILARITY__BASE_CLASS = DISTANCE_FUNCTIONS__BASE_CLASS; |
| |
| /** |
| * The feature id for the '<em><b>Name</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int COSINE_SIMILARITY__NAME = DISTANCE_FUNCTIONS__NAME; |
| |
| /** |
| * The feature id for the '<em><b>Data</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int COSINE_SIMILARITY__DATA = DISTANCE_FUNCTIONS__DATA; |
| |
| /** |
| * The feature id for the '<em><b>Requires grad</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int COSINE_SIMILARITY__REQUIRES_GRAD = DISTANCE_FUNCTIONS__REQUIRES_GRAD; |
| |
| /** |
| * The feature id for the '<em><b>Sub Module</b></em>' reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int COSINE_SIMILARITY__SUB_MODULE = DISTANCE_FUNCTIONS__SUB_MODULE; |
| |
| /** |
| * The feature id for the '<em><b>Optimizer</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int COSINE_SIMILARITY__OPTIMIZER = DISTANCE_FUNCTIONS__OPTIMIZER; |
| |
| /** |
| * The feature id for the '<em><b>Loss</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int COSINE_SIMILARITY__LOSS = DISTANCE_FUNCTIONS__LOSS; |
| |
| /** |
| * The feature id for the '<em><b>Eps</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int COSINE_SIMILARITY__EPS = DISTANCE_FUNCTIONS__EPS; |
| |
| /** |
| * The feature id for the '<em><b>Dim</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int COSINE_SIMILARITY__DIM = DISTANCE_FUNCTIONS_FEATURE_COUNT + 0; |
| |
| /** |
| * The number of structural features of the '<em>Cosine Similarity</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int COSINE_SIMILARITY_FEATURE_COUNT = DISTANCE_FUNCTIONS_FEATURE_COUNT + 1; |
| |
| /** |
| * The number of operations of the '<em>Cosine Similarity</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int COSINE_SIMILARITY_OPERATION_COUNT = DISTANCE_FUNCTIONS_OPERATION_COUNT + 0; |
| |
| /** |
| * The meta object id for the '{@link org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.PairwiseDistanceImpl <em>Pairwise Distance</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.PairwiseDistanceImpl |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.Distance_functionsPackageImpl#getPairwiseDistance() |
| * @generated |
| */ |
| int PAIRWISE_DISTANCE = 2; |
| |
| /** |
| * The feature id for the '<em><b>Base Class</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int PAIRWISE_DISTANCE__BASE_CLASS = DISTANCE_FUNCTIONS__BASE_CLASS; |
| |
| /** |
| * The feature id for the '<em><b>Name</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int PAIRWISE_DISTANCE__NAME = DISTANCE_FUNCTIONS__NAME; |
| |
| /** |
| * The feature id for the '<em><b>Data</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int PAIRWISE_DISTANCE__DATA = DISTANCE_FUNCTIONS__DATA; |
| |
| /** |
| * The feature id for the '<em><b>Requires grad</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int PAIRWISE_DISTANCE__REQUIRES_GRAD = DISTANCE_FUNCTIONS__REQUIRES_GRAD; |
| |
| /** |
| * The feature id for the '<em><b>Sub Module</b></em>' reference list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int PAIRWISE_DISTANCE__SUB_MODULE = DISTANCE_FUNCTIONS__SUB_MODULE; |
| |
| /** |
| * The feature id for the '<em><b>Optimizer</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int PAIRWISE_DISTANCE__OPTIMIZER = DISTANCE_FUNCTIONS__OPTIMIZER; |
| |
| /** |
| * The feature id for the '<em><b>Loss</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int PAIRWISE_DISTANCE__LOSS = DISTANCE_FUNCTIONS__LOSS; |
| |
| /** |
| * The feature id for the '<em><b>Eps</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int PAIRWISE_DISTANCE__EPS = DISTANCE_FUNCTIONS__EPS; |
| |
| /** |
| * The feature id for the '<em><b>P</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int PAIRWISE_DISTANCE__P = DISTANCE_FUNCTIONS_FEATURE_COUNT + 0; |
| |
| /** |
| * The feature id for the '<em><b>Keepdim</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int PAIRWISE_DISTANCE__KEEPDIM = DISTANCE_FUNCTIONS_FEATURE_COUNT + 1; |
| |
| /** |
| * The number of structural features of the '<em>Pairwise Distance</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int PAIRWISE_DISTANCE_FEATURE_COUNT = DISTANCE_FUNCTIONS_FEATURE_COUNT + 2; |
| |
| /** |
| * The number of operations of the '<em>Pairwise Distance</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int PAIRWISE_DISTANCE_OPERATION_COUNT = DISTANCE_FUNCTIONS_OPERATION_COUNT + 0; |
| |
| |
| /** |
| * Returns the meta object for class '{@link org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.Distance_functions <em>Distance functions</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for class '<em>Distance functions</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.Distance_functions |
| * @generated |
| */ |
| EClass getDistance_functions(); |
| |
| /** |
| * Returns the meta object for the attribute '{@link org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.Distance_functions#getEps <em>Eps</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute '<em>Eps</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.Distance_functions#getEps() |
| * @see #getDistance_functions() |
| * @generated |
| */ |
| EAttribute getDistance_functions_Eps(); |
| |
| /** |
| * Returns the meta object for class '{@link org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.CosineSimilarity <em>Cosine Similarity</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for class '<em>Cosine Similarity</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.CosineSimilarity |
| * @generated |
| */ |
| EClass getCosineSimilarity(); |
| |
| /** |
| * Returns the meta object for the attribute '{@link org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.CosineSimilarity#getDim <em>Dim</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute '<em>Dim</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.CosineSimilarity#getDim() |
| * @see #getCosineSimilarity() |
| * @generated |
| */ |
| EAttribute getCosineSimilarity_Dim(); |
| |
| /** |
| * Returns the meta object for class '{@link org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.PairwiseDistance <em>Pairwise Distance</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for class '<em>Pairwise Distance</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.PairwiseDistance |
| * @generated |
| */ |
| EClass getPairwiseDistance(); |
| |
| /** |
| * Returns the meta object for the attribute '{@link org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.PairwiseDistance#getP <em>P</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute '<em>P</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.PairwiseDistance#getP() |
| * @see #getPairwiseDistance() |
| * @generated |
| */ |
| EAttribute getPairwiseDistance_P(); |
| |
| /** |
| * Returns the meta object for the attribute '{@link org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.PairwiseDistance#isKeepdim <em>Keepdim</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute '<em>Keepdim</em>'. |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.PairwiseDistance#isKeepdim() |
| * @see #getPairwiseDistance() |
| * @generated |
| */ |
| EAttribute getPairwiseDistance_Keepdim(); |
| |
| /** |
| * Returns the factory that creates the instances of the model. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the factory that creates the instances of the model. |
| * @generated |
| */ |
| Distance_functionsFactory getDistance_functionsFactory(); |
| |
| /** |
| * <!-- begin-user-doc --> |
| * Defines literals for the meta objects that represent |
| * <ul> |
| * <li>each class,</li> |
| * <li>each feature of each class,</li> |
| * <li>each operation of each class,</li> |
| * <li>each enum,</li> |
| * <li>and each data type</li> |
| * </ul> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| interface Literals { |
| /** |
| * The meta object literal for the '{@link org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.Distance_functionsImpl <em>Distance functions</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.Distance_functionsImpl |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.Distance_functionsPackageImpl#getDistance_functions() |
| * @generated |
| */ |
| EClass DISTANCE_FUNCTIONS = eINSTANCE.getDistance_functions(); |
| |
| /** |
| * The meta object literal for the '<em><b>Eps</b></em>' attribute feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute DISTANCE_FUNCTIONS__EPS = eINSTANCE.getDistance_functions_Eps(); |
| |
| /** |
| * The meta object literal for the '{@link org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.CosineSimilarityImpl <em>Cosine Similarity</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.CosineSimilarityImpl |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.Distance_functionsPackageImpl#getCosineSimilarity() |
| * @generated |
| */ |
| EClass COSINE_SIMILARITY = eINSTANCE.getCosineSimilarity(); |
| |
| /** |
| * The meta object literal for the '<em><b>Dim</b></em>' attribute feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute COSINE_SIMILARITY__DIM = eINSTANCE.getCosineSimilarity_Dim(); |
| |
| /** |
| * The meta object literal for the '{@link org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.PairwiseDistanceImpl <em>Pairwise Distance</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.PairwiseDistanceImpl |
| * @see org.eclipse.papyrus.aiml.profile.AIML.Distance_functions.impl.Distance_functionsPackageImpl#getPairwiseDistance() |
| * @generated |
| */ |
| EClass PAIRWISE_DISTANCE = eINSTANCE.getPairwiseDistance(); |
| |
| /** |
| * The meta object literal for the '<em><b>P</b></em>' attribute feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute PAIRWISE_DISTANCE__P = eINSTANCE.getPairwiseDistance_P(); |
| |
| /** |
| * The meta object literal for the '<em><b>Keepdim</b></em>' attribute feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute PAIRWISE_DISTANCE__KEEPDIM = eINSTANCE.getPairwiseDistance_Keepdim(); |
| |
| } |
| |
| } //Distance_functionsPackage |