Changeset 9752:cbd6f6f10f06 in orange


Ignore:
Timestamp:
02/06/12 16:33:23 (2 years ago)
Author:
markotoplak
Branch:
default
Message:

Moved instance_distance_matrix to Orange.distance.distance_matrix

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • Orange/clustering/hierarchical.py

    r9724 r9752  
    451451.. autofunction:: pruned 
    452452.. autofunction:: cluster_depths 
    453 .. autofunction:: instance_distance_matrix 
    454453.. autofunction:: feature_distance_matrix 
    455454.. autofunction:: joining_cluster 
     
    15091508    return depths 
    15101509 
    1511  
    1512 def instance_distance_matrix(data, 
    1513             distance_constructor=Orange.distance.Euclidean, 
    1514             progress_callback=None): 
    1515     """ A helper function that computes an :class:`Orange.core.SymMatrix` of all 
    1516     pairwise distances between instances in `data`. 
    1517      
    1518     :param data: A data table 
    1519     :type data: :class:`Orange.data.Table` 
    1520      
    1521     :param distance_constructor: An DistanceConstructor instance. 
    1522     :type distance_constructor: :class:`Orange.distance.DistanceConstructor` 
    1523      
    1524     :param progress_callback: A function (taking one argument) to use for 
    1525         reporting the on the progress. 
    1526     :type progress_callback: function 
    1527      
    1528     :rtype: :class:`Orange.core.SymMatrix` 
    1529      
    1530     """ 
    1531     matrix = orange.SymMatrix(len(data)) 
    1532     dist = distance_constructor(data) 
    1533      
    1534     iter_count = matrix.dim * (matrix.dim - 1) / 2 
    1535     milestones = progress_bar_milestones(iter_count, 100) 
    1536      
    1537     for count, ((i, ex1), (j, ex2)) in enumerate(_pairs(enumerate(data))): 
    1538         matrix[i, j] = dist(ex1, ex2) 
    1539         if progress_callback and count in milestones: 
    1540             progress_callback(100.0 * count / iter_count) 
    1541              
    1542     return matrix  
    1543  
     1510instance_distance_matrix = Orange.distance.distance_matrix 
    15441511 
    15451512def feature_distance_matrix(data, distance=None, progress_callback=None): 
  • Orange/distance/__init__.py

    r9723 r9752  
    11import Orange 
    2  
    3 #%s/ExamplesDistanceConstructor/DistanceConstructor/gc 
    4 #%s/ExamplesDistance_Normalized/DistanceNormalized/gc 
    5 #ExampleDistance -> Distance 
    6 #Hamming -> HammingDistance 
    7 #DTW -> DTWDistance 
    8 #Euclidean -> EuclideanDistance 
    9 #Manhattan -> ... 
    10 #Maximal -> ... 
    11 #Relief -> .. 
    12 #DTWConstructor 
    13 #EuclideanConstructor 
    14 #HammingConstructor 
    15 #ManhattanConstructor 
    16 #MaximalConstructor 
    17 #ReliefConstructor 
    18 #PearsonRConstructor -> PearsonR 
    19 #PearsonR -> PearsonRDistance 
    20 #SpearmanRConstructor -> SpearmanR 
    21 #SpearmanR -> SpearmanRDistance 
    22 #MahalanobisConstructor ->  Mahalanobis 
    23 #Mahalanobis -> MahalanobisDistance 
    242 
    253from Orange.core import \ 
     
    4220    ExamplesDistanceConstructor_Relief as Relief 
    4321 
     22from Orange.misc import progress_bar_milestones 
     23 
    4424import statc 
    4525import numpy 
     
    260240            return 1.0 
    261241     
    262      
    263 def distance_matrix(data, distance_constructor, progress_callback=None): 
    264     """ A helper function that computes an obj:`Orange.core.SymMatrix` of all 
     242def _pairs(seq, same = False): 
     243    """ Return all pairs from elements of `seq`. 
     244    """ 
     245    seq = list(seq) 
     246    same = 0 if same else 1 
     247    for i in range(len(seq)): 
     248        for j in range(i + same, len(seq)): 
     249            yield seq[i], seq[j] 
     250    
     251def distance_matrix(data, distance_constructor=Euclidean, progress_callback=None): 
     252    """ A helper function that computes an :obj:`Orange.data.SymMatrix` of all 
    265253    pairwise distances between instances in `data`. 
    266254     
     
    268256    :type data: :obj:`Orange.data.Table` 
    269257     
    270     :param distance_constructor: An DistanceConstructor instance. 
     258    :param distance_constructor: An DistanceConstructor instance (defaults to :obj:`Euclidean`). 
    271259    :type distance_constructor: :obj:`Orange.distances.DistanceConstructor` 
    272      
    273     """ 
    274     from Orange.misc import progressBarMilestones as progress_milestones 
    275     matrix = Orange.core.SymMatrix(len(data)) 
     260 
     261    :param progress_callback: A function (taking one argument) to use for 
     262        reporting the on the progress. 
     263    :type progress_callback: function 
     264     
     265    :rtype: :class:`Orange.data.SymMatrix` 
     266     
     267    """ 
     268    matrix = Orange.data.SymMatrix(len(data)) 
    276269    dist = distance_constructor(data) 
    277      
    278     msize = len(data)*(len(data) - 1)/2 
    279     milestones = progress_milestones(msize, 100) 
    280     count = 0 
    281     for i in range(len(data)): 
    282         for j in range(i + 1, len(data)): 
    283             matrix[i, j] = dist(data[i], data[j]) 
     270 
     271    iter_count = matrix.dim * (matrix.dim - 1) / 2 
     272    milestones = progress_bar_milestones(iter_count, 100) 
     273     
     274    for count, ((i, ex1), (j, ex2)) in enumerate(_pairs(enumerate(data))): 
     275        matrix[i, j] = dist(ex1, ex2) 
     276        if progress_callback and count in milestones: 
     277            progress_callback(100.0 * count / iter_count) 
    284278             
    285             if progress_callback and count in milestones: 
    286                 progress_callback(100.0 * count / msize) 
    287             count += 1 
    288              
    289     return matrix 
     279    return matrix  
  • docs/reference/rst/Orange.distance.rst

    r9720 r9752  
    11.. py:currentmodule:: Orange.distance 
    2  
    3 .. automodule:: Orange.distance 
    42 
    53########################################## 
     
    2422between two unknown values is always 0.5. 
    2523 
     24.. autofunction:: distance_matrix 
     25 
    2626.. class:: Distance 
    2727 
     
    3434    .. method:: __call__([instances, weightID][, distributions][, basic_var_stat]) 
    3535 
    36         Constructs an :obj:`Distance`.  Not all the data needs to be 
    37         given. Most measures can be constructed from basic_var_stat; 
    38         if it is not given, they can help themselves either by instances 
    39         or distributions. Some do not need any arguments. 
     36        Constructs an :obj:`Distance`. Not all arguments are required. 
     37        Most measures can be constructed from basic_var_stat; if it is 
     38        not given, instances or distributions can be used. 
    4039 
    4140.. class:: DistanceNormalized 
    4241 
    43     This abstract class provides a function which is given two instances 
    44     and returns a list of normalized distances between values of their 
    45     features. Many distance measuring classes need such a function and are 
    46     therefore derived from this class 
     42    An abstract class that provides normalization. 
    4743 
    4844    .. attribute:: normalizers 
    4945 
    50         A precomputed list of normalizing factors for feature values 
     46        A precomputed list of normalizing factors for feature values. They are: 
    5147 
    52         - If a factor positive, differences in feature's values 
    53           are multiplied by it; for continuous features the factor 
    54           would be 1/(max_value-min_value) and for ordinal features 
    55           the factor is 1/number_of_values. If either (or both) of 
    56           features are unknown, the distance is 0.5 
    57         - If a factor is -1, the feature is nominal; the distance 
    58           between two values is 0 if they are same (or at least 
    59           one is unknown) and 1 if they are different. 
    60         - If a factor is 0, the feature is ignored. 
     48        - 1/(max_value-min_value) for continuous and 1/number_of_values 
     49          for ordinal features. 
     50          If either feature is unknown, the distance is 0.5. Such factors 
     51          are used to multiply differences in feature's values. 
     52        - ``-1`` for nominal features; the distance 
     53          between two values is 0 if they are same (or at least one is 
     54          unknown) and 1 if they are different. 
     55        - ``0`` for ignored features. 
    6156 
    6257    .. attribute:: bases, averages, variances 
    6358 
    6459        The minimal values, averages and variances 
    65         (continuous features only) 
     60        (continuous features only). 
    6661 
    6762    .. attribute:: domain_version 
    6863 
    69         The domain version increases each time a domain description is 
    70         changed (i.e. features are added or removed); this checks  
    71         that the user is not attempting to measure distances between 
    72         instances that do not correspond to normalizers. 
     64        The domain version changes each time a domain description is 
     65        changed (i.e. features are added or removed). 
    7366 
    74     .. method:: attribute_distances(instance1, instance2) 
     67    .. method:: feature_distances(instance1, instance2) 
    7568 
    76         Return a list of floats representing distances between pairs of 
    77         feature values of the two instances. 
     69        Return a list of floats representing normalized distances between 
     70        pairs of feature values of the two instances. 
    7871 
    79 .. class:: HammingConstructor 
    8072.. class:: Hamming 
     73.. class:: HammingDistance 
    8174 
    82     Hamming distance between two instances is defined as the number of 
    83     features in which the two instances differ. Note that this measure 
    84     is not really appropriate for instances that contain continuous features. 
     75    The number of features in which the two instances differ. This measure 
     76    is not appropriate for instances that contain continuous features. 
    8577 
    86 .. class:: MaximalConstructor 
    8778.. class:: Maximal 
     79.. class:: MaximalDistance 
    8880 
    89     The maximal between two instances is defined as the maximal distance 
     81    The maximal distance 
    9082    between two feature values. If dist is the result of 
    91     DistanceNormalized.attribute_distances, 
    92     then Maximal returns max(dist). 
     83    ~:obj:`DistanceNormalized.feature_distances`, 
     84    then :class:`Maximal` returns ``max(dist)``. 
    9385 
    94 .. class:: ManhattanConstructor 
    9586.. class:: Manhattan 
     87.. class:: ManhattanDistance 
    9688 
    97     Manhattan distance between two instances is a sum of absolute values 
     89    The sum of absolute values 
    9890    of distances between pairs of features, e.g. ``sum(abs(x) for x in dist)`` 
    99     where dist is the result of ExamplesDistance_Normalized.attributeDistances. 
     91    where dist is the result of ~:obj:`DistanceNormalized.feature_distances`. 
    10092 
    101 .. class:: EuclideanConstructor 
    10293.. class:: Euclidean 
     94.. class:: EuclideanDistance 
    10395 
    104     Euclidean distance is a square root of sum of squared per-feature distances, 
     96    The square root of sum of squared per-feature distances, 
    10597    i.e. ``sqrt(sum(x*x for x in dist))``, where dist is the result of 
    106     ExamplesDistance_Normalized.attributeDistances. 
     98    ~:obj:`DistanceNormalized.feature_distances`. 
    10799 
    108100    .. method:: distributions 
    109101 
    110         An object of type 
    111         :obj:`~Orange.statistics.distribution.Distribution` that holds 
     102        A :obj:`~Orange.statistics.distribution.Distribution` containing 
    112103        the distributions for all discrete features used for 
    113104        computation of distances between known and unknown values. 
    114105 
    115     .. method:: bothSpecialDist 
     106    .. method:: both_special_dist 
    116107 
    117108        A list containing the distance between two unknown values for each 
    118109        discrete feature. 
    119110 
    120     This measure of distance deals with unknown values by computing the 
    121     expected square of distance based on the distribution obtained from the 
     111    Unknown values are handled by computing the 
     112    expected square of distance based on the distribution from the 
    122113    "training" data. Squared distance between 
    123114 
    124         - A known and unknown continuous attribute equals squared distance 
    125           between the known and the average, plus variance 
    126         - Two unknown continuous attributes equals double variance 
    127         - A known and unknown discrete attribute equals the probability 
    128           that the unknown attribute has different value than the known 
    129           (i.e., 1 - probability of the known value) 
    130         - Two unknown discrete attributes equals the probability that two 
     115        - A known and unknown continuous feature equals squared distance 
     116          between the known and the average, plus variance. 
     117        - Two unknown continuous features equals double variance. 
     118        - A known and unknown discrete feature equals the probability 
     119          that the unknown feature has different value than the known 
     120          (i.e., 1 - probability of the known value). 
     121        - Two unknown discrete features equals the probability that two 
    131122          random chosen values are equal, which can be computed as 
    132123          1 - sum of squares of probabilities. 
    133124 
    134     Continuous cases can be handled by averages and variances inherited from 
    135     ExamplesDistance_normalized. The data for discrete cases are stored in 
    136     distributions (used for unknown vs. known value) and in bothSpecial 
    137     (the precomputed distance between two unknown values). 
     125    Continuous cases are handled as inherited from 
     126    :class:`DistanceNormalized`. The data for discrete cases are 
     127    stored in distributions (used for unknown vs. known value) and 
     128    in :obj:`both_special_dist` (the precomputed distance between two 
     129    unknown values). 
    138130 
    139 .. class:: ReliefConstructor 
    140131.. class:: Relief 
     132.. class:: ReliefDistance 
    141133 
    142     Relief is similar to Manhattan distance, but incorporates a more 
    143     correct treatment of undefined values, which is used by ReliefF measure. 
     134    Relief is similar to Manhattan distance, but incorporates the 
     135    treatment of undefined values, which is used by ReliefF measure. 
    144136 
    145 This class is derived directly from ExamplesDistance, not from ExamplesDistance_Normalized. 
     137    This class is derived directly from :obj:`Distance`. 
    146138 
    147139 
     
    149141    :members: 
    150142 
    151 .. autoclass:: SpearmanR 
     143.. autoclass:: PearsonRDistance 
    152144    :members: 
    153145 
    154 .. autoclass:: PearsonRConstructor 
     146.. autoclass:: SpearmanR 
    155147    :members: 
    156148 
    157149.. autoclass:: SpearmanRConstructor 
    158150    :members: 
     151 
     152 
  • source/orange/_aliases.txt

    r9651 r9752  
    6666addmetas add_metas 
    6767removemeta remove_meta 
     68 
     69ExamplesDistance_Normalized 
     70feature_distances attribute_distances 
  • source/orangeqt/Makefile

    r9253 r9752  
    1 ORANGEQT_BUILD_DIR=build 
    2 ifndef OLD 
    3   OLD=.. 
    4 endif 
    5 ifndef PYTHON 
    6   PYTHON=$(shell which python) 
    7 endif 
    8  
    9 PYTHON_VERSION = $(shell $(PYTHON) -c 'import sys; print "%s.%s" % sys.version_info[:2]') 
    10 OS = $(shell uname) 
    11  
    12 all: 
    13     mkdir -p $(ORANGEQT_BUILD_DIR) 
    14     cd $(ORANGEQT_BUILD_DIR); cmake -DCMAKE_BUILD_TYPE=Release -DORANGE_LIB_DIR=$(abspath $(OLD)) -DPYTHON_EXECUTABLE=$(PYTHON) -DCMAKE_USE_PYTHON_VERSION=$(PYTHON_VERSION) $(EXTRA_ORANGEQT_CMAKE_ARGS) .. 
    15     if ! $(MAKE) $@ -C $(ORANGEQT_BUILD_DIR); then exit 1; fi; 
    16 ifeq ($(OS), Darwin) 
    17     install_name_tool -id $(DESTDIR)/orangeqt.so $(OLD)/orangeqt.so 
    18 endif 
    19      
    20  
    21 cleantemp: 
    22     rm -rf $(ORANGEQT_BUILD_DIR) 
    23  
    24 clean: cleantemp 
    25     rm -f $(OLD)/orangeqt.so 
     1# CMAKE generated file: DO NOT EDIT! 
     2# Generated by "Unix Makefiles" Generator, CMake Version 2.8 
     3 
     4# Default target executed when no arguments are given to make. 
     5default_target: all 
     6.PHONY : default_target 
     7 
     8#============================================================================= 
     9# Special targets provided by cmake. 
     10 
     11# Disable implicit rules so canoncical targets will work. 
     12.SUFFIXES: 
     13 
     14# Remove some rules from gmake that .SUFFIXES does not remove. 
     15SUFFIXES = 
     16 
     17.SUFFIXES: .hpux_make_needs_suffix_list 
     18 
     19# Suppress display of executed commands. 
     20$(VERBOSE).SILENT: 
     21 
     22# A target that is always out of date. 
     23cmake_force: 
     24.PHONY : cmake_force 
     25 
     26#============================================================================= 
     27# Set environment variables for the build. 
     28 
     29# The shell in which to execute make rules. 
     30SHELL = /bin/sh 
     31 
     32# The CMake executable. 
     33CMAKE_COMMAND = /usr/bin/cmake 
     34 
     35# The command to remove a file. 
     36RM = /usr/bin/cmake -E remove -f 
     37 
     38# The top-level source directory on which CMake was run. 
     39CMAKE_SOURCE_DIR = /home/marko/orangehg/source/orangeqt 
     40 
     41# The top-level build directory on which CMake was run. 
     42CMAKE_BINARY_DIR = /home/marko/orangehg/source/orangeqt 
     43 
     44#============================================================================= 
     45# Targets provided globally by CMake. 
     46 
     47# Special rule for the target edit_cache 
     48edit_cache: 
     49    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..." 
     50    /usr/bin/cmake -i . 
     51.PHONY : edit_cache 
     52 
     53# Special rule for the target edit_cache 
     54edit_cache/fast: edit_cache 
     55.PHONY : edit_cache/fast 
     56 
     57# Special rule for the target install 
     58install: preinstall 
     59    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." 
     60    /usr/bin/cmake -P cmake_install.cmake 
     61.PHONY : install 
     62 
     63# Special rule for the target install 
     64install/fast: preinstall/fast 
     65    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." 
     66    /usr/bin/cmake -P cmake_install.cmake 
     67.PHONY : install/fast 
     68 
     69# Special rule for the target install/local 
     70install/local: preinstall 
     71    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." 
     72    /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake 
     73.PHONY : install/local 
     74 
     75# Special rule for the target install/local 
     76install/local/fast: install/local 
     77.PHONY : install/local/fast 
     78 
     79# Special rule for the target install/strip 
     80install/strip: preinstall 
     81    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." 
     82    /usr/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake 
     83.PHONY : install/strip 
     84 
     85# Special rule for the target install/strip 
     86install/strip/fast: install/strip 
     87.PHONY : install/strip/fast 
     88 
     89# Special rule for the target list_install_components 
     90list_install_components: 
     91    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" 
     92.PHONY : list_install_components 
     93 
     94# Special rule for the target list_install_components 
     95list_install_components/fast: list_install_components 
     96.PHONY : list_install_components/fast 
     97 
     98# Special rule for the target rebuild_cache 
     99rebuild_cache: 
     100    @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." 
     101    /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) 
     102.PHONY : rebuild_cache 
     103 
     104# Special rule for the target rebuild_cache 
     105rebuild_cache/fast: rebuild_cache 
     106.PHONY : rebuild_cache/fast 
     107 
     108# The main all target 
     109all: cmake_check_build_system 
     110    $(CMAKE_COMMAND) -E cmake_progress_start /home/marko/orangehg/source/orangeqt/CMakeFiles /home/marko/orangehg/source/orangeqt/CMakeFiles/progress.marks 
     111    $(MAKE) -f CMakeFiles/Makefile2 all 
     112    $(CMAKE_COMMAND) -E cmake_progress_start /home/marko/orangehg/source/orangeqt/CMakeFiles 0 
     113.PHONY : all 
     114 
     115# The main clean target 
     116clean: 
     117    $(MAKE) -f CMakeFiles/Makefile2 clean 
     118.PHONY : clean 
     119 
     120# The main clean target 
     121clean/fast: clean 
     122.PHONY : clean/fast 
     123 
     124# Prepare targets for installation. 
     125preinstall: all 
     126    $(MAKE) -f CMakeFiles/Makefile2 preinstall 
     127.PHONY : preinstall 
     128 
     129# Prepare targets for installation. 
     130preinstall/fast: 
     131    $(MAKE) -f CMakeFiles/Makefile2 preinstall 
     132.PHONY : preinstall/fast 
     133 
     134# clear depends 
     135depend: 
     136    $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 
     137.PHONY : depend 
     138 
     139#============================================================================= 
     140# Target rules for targets named python_module_orangeqt 
     141 
     142# Build rule for target. 
     143python_module_orangeqt: cmake_check_build_system 
     144    $(MAKE) -f CMakeFiles/Makefile2 python_module_orangeqt 
     145.PHONY : python_module_orangeqt 
     146 
     147# fast build rule for target. 
     148python_module_orangeqt/fast: 
     149    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/build 
     150.PHONY : python_module_orangeqt/fast 
     151 
     152canvas3d.o: canvas3d.cpp.o 
     153.PHONY : canvas3d.o 
     154 
     155# target to build an object file 
     156canvas3d.cpp.o: 
     157    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/canvas3d.cpp.o 
     158.PHONY : canvas3d.cpp.o 
     159 
     160canvas3d.i: canvas3d.cpp.i 
     161.PHONY : canvas3d.i 
     162 
     163# target to preprocess a source file 
     164canvas3d.cpp.i: 
     165    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/canvas3d.cpp.i 
     166.PHONY : canvas3d.cpp.i 
     167 
     168canvas3d.s: canvas3d.cpp.s 
     169.PHONY : canvas3d.s 
     170 
     171# target to generate assembly for a file 
     172canvas3d.cpp.s: 
     173    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/canvas3d.cpp.s 
     174.PHONY : canvas3d.cpp.s 
     175 
     176curve.o: curve.cpp.o 
     177.PHONY : curve.o 
     178 
     179# target to build an object file 
     180curve.cpp.o: 
     181    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/curve.cpp.o 
     182.PHONY : curve.cpp.o 
     183 
     184curve.i: curve.cpp.i 
     185.PHONY : curve.i 
     186 
     187# target to preprocess a source file 
     188curve.cpp.i: 
     189    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/curve.cpp.i 
     190.PHONY : curve.cpp.i 
     191 
     192curve.s: curve.cpp.s 
     193.PHONY : curve.s 
     194 
     195# target to generate assembly for a file 
     196curve.cpp.s: 
     197    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/curve.cpp.s 
     198.PHONY : curve.cpp.s 
     199 
     200glextensions.o: glextensions.cpp.o 
     201.PHONY : glextensions.o 
     202 
     203# target to build an object file 
     204glextensions.cpp.o: 
     205    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/glextensions.cpp.o 
     206.PHONY : glextensions.cpp.o 
     207 
     208glextensions.i: glextensions.cpp.i 
     209.PHONY : glextensions.i 
     210 
     211# target to preprocess a source file 
     212glextensions.cpp.i: 
     213    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/glextensions.cpp.i 
     214.PHONY : glextensions.cpp.i 
     215 
     216glextensions.s: glextensions.cpp.s 
     217.PHONY : glextensions.s 
     218 
     219# target to generate assembly for a file 
     220glextensions.cpp.s: 
     221    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/glextensions.cpp.s 
     222.PHONY : glextensions.cpp.s 
     223 
     224multicurve.o: multicurve.cpp.o 
     225.PHONY : multicurve.o 
     226 
     227# target to build an object file 
     228multicurve.cpp.o: 
     229    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/multicurve.cpp.o 
     230.PHONY : multicurve.cpp.o 
     231 
     232multicurve.i: multicurve.cpp.i 
     233.PHONY : multicurve.i 
     234 
     235# target to preprocess a source file 
     236multicurve.cpp.i: 
     237    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/multicurve.cpp.i 
     238.PHONY : multicurve.cpp.i 
     239 
     240multicurve.s: multicurve.cpp.s 
     241.PHONY : multicurve.s 
     242 
     243# target to generate assembly for a file 
     244multicurve.cpp.s: 
     245    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/multicurve.cpp.s 
     246.PHONY : multicurve.cpp.s 
     247 
     248networkcurve.o: networkcurve.cpp.o 
     249.PHONY : networkcurve.o 
     250 
     251# target to build an object file 
     252networkcurve.cpp.o: 
     253    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/networkcurve.cpp.o 
     254.PHONY : networkcurve.cpp.o 
     255 
     256networkcurve.i: networkcurve.cpp.i 
     257.PHONY : networkcurve.i 
     258 
     259# target to preprocess a source file 
     260networkcurve.cpp.i: 
     261    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/networkcurve.cpp.i 
     262.PHONY : networkcurve.cpp.i 
     263 
     264networkcurve.s: networkcurve.cpp.s 
     265.PHONY : networkcurve.s 
     266 
     267# target to generate assembly for a file 
     268networkcurve.cpp.s: 
     269    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/networkcurve.cpp.s 
     270.PHONY : networkcurve.cpp.s 
     271 
     272plot.o: plot.cpp.o 
     273.PHONY : plot.o 
     274 
     275# target to build an object file 
     276plot.cpp.o: 
     277    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/plot.cpp.o 
     278.PHONY : plot.cpp.o 
     279 
     280plot.i: plot.cpp.i 
     281.PHONY : plot.i 
     282 
     283# target to preprocess a source file 
     284plot.cpp.i: 
     285    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/plot.cpp.i 
     286.PHONY : plot.cpp.i 
     287 
     288plot.s: plot.cpp.s 
     289.PHONY : plot.s 
     290 
     291# target to generate assembly for a file 
     292plot.cpp.s: 
     293    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/plot.cpp.s 
     294.PHONY : plot.cpp.s 
     295 
     296plot3d.o: plot3d.cpp.o 
     297.PHONY : plot3d.o 
     298 
     299# target to build an object file 
     300plot3d.cpp.o: 
     301    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/plot3d.cpp.o 
     302.PHONY : plot3d.cpp.o 
     303 
     304plot3d.i: plot3d.cpp.i 
     305.PHONY : plot3d.i 
     306 
     307# target to preprocess a source file 
     308plot3d.cpp.i: 
     309    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/plot3d.cpp.i 
     310.PHONY : plot3d.cpp.i 
     311 
     312plot3d.s: plot3d.cpp.s 
     313.PHONY : plot3d.s 
     314 
     315# target to generate assembly for a file 
     316plot3d.cpp.s: 
     317    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/plot3d.cpp.s 
     318.PHONY : plot3d.cpp.s 
     319 
     320plotitem.o: plotitem.cpp.o 
     321.PHONY : plotitem.o 
     322 
     323# target to build an object file 
     324plotitem.cpp.o: 
     325    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/plotitem.cpp.o 
     326.PHONY : plotitem.cpp.o 
     327 
     328plotitem.i: plotitem.cpp.i 
     329.PHONY : plotitem.i 
     330 
     331# target to preprocess a source file 
     332plotitem.cpp.i: 
     333    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/plotitem.cpp.i 
     334.PHONY : plotitem.cpp.i 
     335 
     336plotitem.s: plotitem.cpp.s 
     337.PHONY : plotitem.s 
     338 
     339# target to generate assembly for a file 
     340plotitem.cpp.s: 
     341    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/plotitem.cpp.s 
     342.PHONY : plotitem.cpp.s 
     343 
     344point.o: point.cpp.o 
     345.PHONY : point.o 
     346 
     347# target to build an object file 
     348point.cpp.o: 
     349    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/point.cpp.o 
     350.PHONY : point.cpp.o 
     351 
     352point.i: point.cpp.i 
     353.PHONY : point.i 
     354 
     355# target to preprocess a source file 
     356point.cpp.i: 
     357    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/point.cpp.i 
     358.PHONY : point.cpp.i 
     359 
     360point.s: point.cpp.s 
     361.PHONY : point.s 
     362 
     363# target to generate assembly for a file 
     364point.cpp.s: 
     365    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/point.cpp.s 
     366.PHONY : point.cpp.s 
     367 
     368siporangeqtpart0.o: siporangeqtpart0.cpp.o 
     369.PHONY : siporangeqtpart0.o 
     370 
     371# target to build an object file 
     372siporangeqtpart0.cpp.o: 
     373    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/siporangeqtpart0.cpp.o 
     374.PHONY : siporangeqtpart0.cpp.o 
     375 
     376siporangeqtpart0.i: siporangeqtpart0.cpp.i 
     377.PHONY : siporangeqtpart0.i 
     378 
     379# target to preprocess a source file 
     380siporangeqtpart0.cpp.i: 
     381    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/siporangeqtpart0.cpp.i 
     382.PHONY : siporangeqtpart0.cpp.i 
     383 
     384siporangeqtpart0.s: siporangeqtpart0.cpp.s 
     385.PHONY : siporangeqtpart0.s 
     386 
     387# target to generate assembly for a file 
     388siporangeqtpart0.cpp.s: 
     389    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/siporangeqtpart0.cpp.s 
     390.PHONY : siporangeqtpart0.cpp.s 
     391 
     392unconnectedlinescurve.o: unconnectedlinescurve.cpp.o 
     393.PHONY : unconnectedlinescurve.o 
     394 
     395# target to build an object file 
     396unconnectedlinescurve.cpp.o: 
     397    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/unconnectedlinescurve.cpp.o 
     398.PHONY : unconnectedlinescurve.cpp.o 
     399 
     400unconnectedlinescurve.i: unconnectedlinescurve.cpp.i 
     401.PHONY : unconnectedlinescurve.i 
     402 
     403# target to preprocess a source file 
     404unconnectedlinescurve.cpp.i: 
     405    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/unconnectedlinescurve.cpp.i 
     406.PHONY : unconnectedlinescurve.cpp.i 
     407 
     408unconnectedlinescurve.s: unconnectedlinescurve.cpp.s 
     409.PHONY : unconnectedlinescurve.s 
     410 
     411# target to generate assembly for a file 
     412unconnectedlinescurve.cpp.s: 
     413    $(MAKE) -f CMakeFiles/python_module_orangeqt.dir/build.make CMakeFiles/python_module_orangeqt.dir/unconnectedlinescurve.cpp.s 
     414.PHONY : unconnectedlinescurve.cpp.s 
     415 
     416# Help Target 
     417help: 
     418    @echo "The following are some of the valid targets for this Makefile:" 
     419    @echo "... all (the default if no target is provided)" 
     420    @echo "... clean" 
     421    @echo "... depend" 
     422    @echo "... edit_cache" 
     423    @echo "... install" 
     424    @echo "... install/local" 
     425    @echo "... install/strip" 
     426    @echo "... list_install_components" 
     427    @echo "... python_module_orangeqt" 
     428    @echo "... rebuild_cache" 
     429    @echo "... canvas3d.o" 
     430    @echo "... canvas3d.i" 
     431    @echo "... canvas3d.s" 
     432    @echo "... curve.o" 
     433    @echo "... curve.i" 
     434    @echo "... curve.s" 
     435    @echo "... glextensions.o" 
     436    @echo "... glextensions.i" 
     437    @echo "... glextensions.s" 
     438    @echo "... multicurve.o" 
     439    @echo "... multicurve.i" 
     440    @echo "... multicurve.s" 
     441    @echo "... networkcurve.o" 
     442    @echo "... networkcurve.i" 
     443    @echo "... networkcurve.s" 
     444    @echo "... plot.o" 
     445    @echo "... plot.i" 
     446    @echo "... plot.s" 
     447    @echo "... plot3d.o" 
     448    @echo "... plot3d.i" 
     449    @echo "... plot3d.s" 
     450    @echo "... plotitem.o" 
     451    @echo "... plotitem.i" 
     452    @echo "... plotitem.s" 
     453    @echo "... point.o" 
     454    @echo "... point.i" 
     455    @echo "... point.s" 
     456    @echo "... siporangeqtpart0.o" 
     457    @echo "... siporangeqtpart0.i" 
     458    @echo "... siporangeqtpart0.s" 
     459    @echo "... unconnectedlinescurve.o" 
     460    @echo "... unconnectedlinescurve.i" 
     461    @echo "... unconnectedlinescurve.s" 
     462.PHONY : help 
     463 
     464 
     465 
     466#============================================================================= 
     467# Special targets to cleanup operation of make. 
     468 
     469# Special rule to run CMake to check the build system integrity. 
     470# No rule that depends on this can have commands that come from listfiles 
     471# because they might be regenerated. 
     472cmake_check_build_system: 
     473    $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 
     474.PHONY : cmake_check_build_system 
     475 
Note: See TracChangeset for help on using the changeset viewer.