This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| int | spacedSeedMaxWeight () |
| int * | spacedSeedOffsets (int weight) |
| int | spacedSeedSpan (int weight) |
Variables | |
| char * | spacedSeeds [] |
| int spacedSeedMaxWeight | ( | ) |
Definition at line 36 of file spacedSeed.c.
References ArraySize, and spacedSeeds.
00038 { 00039 return ArraySize(spacedSeeds)-1; 00040 }
| int* spacedSeedOffsets | ( | int | weight | ) |
Definition at line 42 of file spacedSeed.c.
References AllocArray, ArraySize, and spacedSeeds.
00044 { 00045 char *seed; 00046 int *output, offset, outCount = 0, seedSize; 00047 00048 assert(weight >= 1 && weight < ArraySize(spacedSeeds)); 00049 seed = spacedSeeds[weight]; 00050 seedSize = strlen(seed); 00051 AllocArray(output, weight); 00052 for (offset=0; offset<seedSize; ++offset) 00053 { 00054 if (seed[offset] == '1') 00055 output[outCount++] = offset; 00056 } 00057 assert(outCount == weight); 00058 return output; 00059 }
| int spacedSeedSpan | ( | int | weight | ) |
Definition at line 61 of file spacedSeed.c.
References spacedSeeds.
00063 { 00064 return strlen(spacedSeeds[weight]); 00065 }
| char* spacedSeeds[] |
Definition at line 12 of file spacedSeed.c.
Referenced by spacedSeedMaxWeight(), spacedSeedOffsets(), and spacedSeedSpan().
1.5.2