Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## infomat.vectorspace.weighting
Class CountWeighter

    java.lang.Object
      infomat.vectorspace.weighting.Weighter
          infomat.vectorspace.weighting.CountWeighter

All Implemented Interfaces:
  HasProperties

    public class CountWeighter

extends Weighter

A class for weighting of a IMatrix. Sets the weight for each cell to the local count.

Field Summary

Fields inherited from class infomat.vectorspace.weighting.Weighter
`properties`

Constructor Summary
`CountWeighter()`
`CountWeighter(Properties properties)`

Method Summary
`Properties` | `getDefaultProperties()`
`Properties` | `getProperties()`
`java.lang.Object` | `getPropertyValue(java.lang.String name)`
`java.lang.String` | `getWeighterName()` Returns a String that identifies the Weighter.
`void` | `setProperties(Properties properties)`
`void` | `setProperty(java.lang.String name, java.lang.Object value)`
`void` | `weight(IMatrix matrix)` Weight the IMatrix (the whole matrix, which may be more than the current IObjectGroupings, the picture).

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CountWeighter

    public CountWeighter()

### CountWeighter

    public CountWeighter(Properties properties)

Method Detail

### getDefaultProperties

    public Properties getDefaultProperties()

### getPropertyValue

    public java.lang.Object getPropertyValue(java.lang.String name)

### setProperty

    public void setProperty(java.lang.String name,
                            java.lang.Object value)
                     throws PropertyNotFoundException

  Throws:
    `PropertyNotFoundException`

### getProperties

    public Properties getProperties()

### setProperties

    public void setProperties(Properties properties)

### getWeighterName

    public java.lang.String getWeighterName()

  Description copied from class: `Weighter`
  Returns a String that identifies the Weighter.

  Specified by:
    `getWeighterName` in class `Weighter`

### weight

    public void weight(IMatrix matrix)

  Weight the IMatrix (the whole matrix, which may be more than the current IObjectGroupings, the picture).

  Specified by:
    `weight` in class `Weighter`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD