001    /*
002     * Copyright (c) 1998-2014 ChemAxon Ltd. All Rights Reserved.
003     *
004     * This software is the confidential and proprietary information of
005     * ChemAxon. You shall not disclose such Confidential Information
006     * and shall use it only in accordance with the terms of the agreements
007     * you entered into with ChemAxon.
008     *
009     */
010    package com.chemaxon.descriptors.alignment;
011    
012    import com.chemaxon.common.annotations.PublicAPI;
013    import com.chemaxon.descriptors.metrics.MetricMetadata;
014    /**
015     *
016     *
017     * @author Adrian Kalaszi
018     */
019    @PublicAPI
020    public enum ShapeMetrics implements MetricMetadata {
021        SHAPEINTERSECTION {
022    
023            @Override
024            public boolean isSymmetric() {
025                return true;
026            }
027    
028            @Override
029            public boolean isNonNegative() {
030                return true;
031            }
032    
033            @Override
034            public boolean isDissimilarityZeroIFFEquals() {
035                return true;
036            }
037    
038            @Override
039            public boolean isTriangeInequalityHolds() {
040                return false;
041            }
042    
043            @Override
044            public boolean isMetricSpace() {
045                return false;
046            }
047        },
048    
049        SHAPETANIMOTO {
050    
051            @Override
052            public boolean isSymmetric() {
053                return true;
054            }
055    
056            @Override
057            public boolean isNonNegative() {
058                return true;
059            }
060    
061            @Override
062            public boolean isDissimilarityZeroIFFEquals() {
063                return true;
064            }
065    
066            @Override
067            public boolean isTriangeInequalityHolds() {
068                return false;
069            }
070    
071            @Override
072            public boolean isMetricSpace() {
073                return false;
074            }
075        }
076    }